安装Sqoop的时候出现Error: /root/training/sqoop-1.4.5.bin__hadoop-0.23/../hadoop-mapreduce does not exist!

具体的错误信息如下:

[root@bigdata11 lib]# sqoop help
Error: /root/training/sqoop-1.4.5.bin__hadoop-0.23/../hadoop-mapreduce does not exist!
Please set $HADOOP_MAPRED_HOME to the root of your Hadoop MapReduce installation.

错误的原因是需要修改配置文件

修改配置文件
    cd /$SQOOP_HOME/conf  
    vi  sqoop-env-template.sh
    export HADOOP_COMMON_HOME=/root/training/hadoop-2.7.3
    export HADOOP_MAPRED_HOME=/root/training/hadoop-2.7.3

 


再次执行sqoop help

安装Sqoop的时候出现Error: /root/training/sqoop-1.4.5.bin__hadoop-0.23/../hadoop-mapreduce does not exist!_第1张图片

证明配置成功

你可能感兴趣的:(安装Sqoop的时候出现Error: /root/training/sqoop-1.4.5.bin__hadoop-0.23/../hadoop-mapreduce does not exist!)