Window 安装Sqoop 环境
程序员文章站
2023-12-24 22:29:39
...
第一步:下载Sqoop,官网下载地址:http://mirror.bit.edu.cn/apache/sqoop/
第二步:将下载Sqoop.tar.gz 解压至指定目录(C:\sqoop)
第三步:添加SQOOP_HOME 环境变量和Path 全局环境变量
第四步:验证Sqoop 是否安装成功:
C:\sqoop\sqoop-1.4.7\bin>sqoop version
Warning: HBASE_HOME and HBASE_VERSION not set.
Warning: HCAT_HOME not set
Warning: HCATALOG_HOME does not exist HCatalog imports will fail.
Please set HCATALOG_HOME to the root of your HCatalog installation.
Warning: ACCUMULO_HOME not set.
Warning: ZOOKEEPER_HOME not set.
Warning: HBASE_HOME does not exist HBase imports will fail.
Please set HBASE_HOME to the root of your HBase installation.
Warning: ACCUMULO_HOME does not exist Accumulo imports will fail.
Please set ACCUMULO_HOME to the root of your Accumulo installation.
Warning: ZOOKEEPER_HOME does not exist Accumulo imports will fail.
Please set ZOOKEEPER_HOME to the root of your Zookeeper installation.
2019-03-04 19:12:57,868 INFO sqoop.Sqoop: Running Sqoop version: 1.4.7
Sqoop 1.4.7 # sqoop 版本信息
git commit id 2328971411f57f0cb683dfb79d19d4d19d185dd8
Compiled by maugli on Thu Dec 21 15:59:58 STD 2017
至此,windows 安装sqoop 已经完成。
遇到的问题:
提示:找不到或无法加载主类 org.apache.sqoop.Sqoop
解决办法:将sqoop-1.4.6.jar拷贝到C:\sqoop\sqoop-1.4.7\lib目录下解决。