Working With Hadoop: localhost: Error: JAVA_HOME is not set

后端 未结 11 630
天命终不由人
天命终不由人 2020-12-13 02:19

I\'m working with Ubuntu 12.04 LTS.

I\'m going through the hadoop quickstart manual to make a pseudo-distributed operation. It seems simple and straightforward (eas

11条回答
  •  自闭症患者
    2020-12-13 03:16

    Check if your alternatives is pointing to the right one, you might actually be pointing to a different version and trying to alter the hadoop-env.sh on another installed version.

    -alternatives --install /etc/hadoop/conf [generic_name] [your correct path] priority {for further check man page of alternatives}

    to set alternatives manually,

    alternatives --set [generic name] [your current path].

提交回复
热议问题