I am trying to start all hadoop daemons with the command
./start-all.sh
from the host host cluster. As a result of execution several times issued
starting namenode, logging to /export/hadoop-1.0.1/libexec/../logs/hadoop--namenode-one.out 192.168.1.10: starting datanode, logging to /export/hadoop-1.0.1/libexec/../logs/hadoop-hadoop-datanode-myhost2.out 192.168.1.10: Error: JAVA_HOME is not set.
And this happened several times even after the 192.168.1.10 commands were executed on the virtual machine
hadoop@myhost2 :~$ export JAVA_HOME=/opt/jdk1.7.0_06
Please tell us how to fix the JAVA_HOME variable once and for all.
source share