sqoop list-databases --connect jdbc:mysql://node1.itcast.cn:3306/ --username root --password 123456

 

 

bin/sqoop export \
--connect jdbc:mysql://node1.itcast.cn:3306/node1 \
--username root \
--password 123456 \
--table bigfly \
--num-mappers 1 \
--export-dir /user/hive/warehouse/dao1 \
--input-fields-terminated-by ","

成功安装了sqoop

posted on 2023-11-08 14:22  夜的第七章i  阅读(4)  评论(0编辑  收藏  举报