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

后端 未结 11 670
天命终不由人
天命终不由人 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:08

    I am using hadoop 1.1, and faced the same problem.

    I got it solved through changing JAVA_HOME variable in /etc/hadoop/hadoop-env.sh as:

    export JAVA_HOME=/usr/lib/jvm/
    

提交回复
热议问题