导出至hdfs
sqoop import --connect jdbc:mysql://172.16.6.150:3306/bdp_client --username root --password root --table import_task --target-dir /zhonghui/import_task -m 2 --fields-terminated-by "\t" --lines-terminated-by "\n"
导出至hive
sqoop import --connect jdbc:mysql://172.16.6.150:3306/bdp_client --username root --password root --table import_task --hive-import --hive-table import_task -m 2 --fields-terminated-by "\001"
导出至hbase
sqoop import --connect jdbc:mysql://172.16.6.150:3306/bdp_client --username root --password root --table import_task --hbase-table import_task --column-family task --hbase-row-key import_task_id -hbase-create-table