安装sqoop

安装:

https://www.jianshu.com/p/d42a164d6f68

https://www.jianshu.com/p/33d5405e1309

sqoop-env.sh两个博客的内容我都加进去了

两个驱动包我也都加进去了

错误:

http://www.aboutyun.com/thread-17715-1-1.html?euvmji=6dm0p

Warning: /usr/lib/hbase does not exist! HBase imports will fail.
Please set $HBASE_HOME to the root of your HBase installation.
Warning: /usr/lib/hcatalog does not exist! HCatalog jobs will fail.
Please set $HCAT_HOME to the root of your HCatalog installation.
Warning: $HADOOP_HOME is deprecated.

采纳了第一个错误的解决方案。

测试sqoop是否安装成功:

sqoop list-databases --connect jdbc:mysql://localhost:3306/ --username root --password root

猜你喜欢

转载自blog.csdn.net/weixin_42490528/article/details/82980362