sqoop从mysql导出到hdfs:
sqoop import --connect jdbc:mysql://888.888.88.88:3306/test1 --username root --password root --target-dir /user/sqoop2/test --table app_info --fields-terminated-by '\t' --m 1
2024-02-12 16:00:22
sqoop从mysql导出到hdfs:
sqoop import --connect jdbc:mysql://888.888.88.88:3306/test1 --username root --password root --target-dir /user/sqoop2/test --table app_info --fields-terminated-by '\t' --m 1