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

后端 未结 11 661
天命终不由人
天命终不由人 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条回答
  •  猫巷女王i
    2020-12-13 03:21

    regardless of debian or any linux flavor, just know that ~/.bash_profile belongs to specific user and is not system wide. in pseudo-distributed environment hadoop works on localhost so the $JAVA_HOME in .bash_profile is no use anymore.

    just export the JAVA_HOME in ~/.bashrc and use it system wide.

提交回复
热议问题