The database and table must present. The HDFS file format is in tab delimiter in the following command.
sqoop export --connect jdbc:mysql://sandbox.hortonworks.com/custrm --username hive --password hive --table customer --fields-terminated-by '\t' --lines-terminated-by '\n' --export-dir /user/root/customer/ -m 1
No comments:
Post a Comment