I need to know is there any way to import data from mysql to HDFS, there are some conditions I need to mention.
I need to know best way to import mysql data into HDFS and update in real time.
你为什么不想使用sqoop - 它做了你必须做的事情(打开JDBC连接获取数据,写入hadoop)从hadoop world 09看这个演示文稿
You can use Real Time import using CDC and Talend. http://www.talend.com/talend-big-data-sandbox
Yes, you can access the database and HDFS via JDBC connectors and hadoop Java API.
But in map-reduce things will be out of your control when accessing a database.
To overcome all these hurdles, Sqoop was developed to transfer data between RDBMS to/from HDFS.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.