Are you sure you want to continue connecting (yes/no)? yes
master: Warning: Permanently added 'master' (RSA) to the list of known hosts.
master: Error: JAVA_HOME is not set and could not be found.
slave2: Error: JAVA_HOME is not set and could not be found.
slave1: Error: JAVA_HOME is not set and could not be found.
Starting secondary namenodes [master]
master: Error: JAVA_HOME is not set and could not be found.
15/11/06 09:20:12 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[root@master sbin]# ./start-dfs.sh 15/11/06 09:33:08 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Starting namenodes on [master] master: Error: JAVA_HOME is not set and could not be found. slave2: Error: JAVA_HOME is not set and could not be found. slave1: Error: JAVA_HOME is not set and could not be found. Starting secondary namenodes [master] master: Error: JAVA_HOME is not set and could not be found. 15/11/06 09:33:12 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [root@master sbin]# echo $JAVA_HOME /usr/program/jdk8
这是后面一次的错误信息