下载
配置
sqoop-env.sh
1 | #Set path to where bin/hadoop is available 配置Hadoop |
添加MySQL连接jar包到$SQOOP_HOME/lib目录中
mysql-connector-java-5.1.31-bin.jar
验证
1 | [root@node1 sqoop]# bin/sqoop-version |
当才华撑不起野心时,应该静下心来学习;当能力驾驭不了目标时,应该沉下心来历练。
sqoop-env.sh
1 | #Set path to where bin/hadoop is available 配置Hadoop |
mysql-connector-java-5.1.31-bin.jar
1 | [root@node1 sqoop]# bin/sqoop-version |