It seems as though you are running sqoop with a JRE - But JAVA_HOME set to JDK

后端 未结 3 998
陌清茗
陌清茗 2021-01-13 22:16

I tried to set up sqoop (sqoop-1.4.3.bin__hadoop-1.0.0) on Ubuntu. I can run the basic sqoop help etc without problems. When I run the following I get an error:



        
3条回答
  •  误落风尘
    2021-01-13 22:59

    Scoop creates java classes that represent the schema of the table you are importing in. So to create the classes you need the jdk instead of the jre.

    Set the JAVA_HOME in the ./bashrc and the $HADOOP_HOME/conf/hadoop-env.sh as well.

    That should work.

提交回复
热议问题