标签:jdb cat user template log hbase strong connect lib
安装sqoop
上传,解压
修改SQOOP_HOME环境变量
复制mysql-connector-java-5.1.32-bin.jar到sqoop/lib下
将sqoop-env-template.sh改成sqoop-env.Sh
在sqoop/bin目录下,修改configure-sqoop,去掉未安装服务。如HBASE,HCATALOG,ACCUMULO
if [ -z "${HBASE_HOME}" ]; then
if [ -d "/usr/lib/hbase" ]; then
HBASE_HOME=/usr/lib/hbase
else
HBASE_HOME=${SQOOP_HOME}/../hbase
fi
fi
测试:
Sqoop version
链接:
sqoop list-databases -connect jdbc:mysql://node2:3306/ -username root -password 123
标签:jdb cat user template log hbase strong connect lib
原文地址:https://www.cnblogs.com/huiandong/p/9977965.html