[root@hnd1 bin]# ./start-dfs.sh
starting namenode, logging to /home/hadoop/package/hadoop-1.2.1/libexec/../logs/hadoop-roo
t-namenode-hnd1.outhnd2: bash: line 0: cd: /home/hadoop/package/hadoop-1.2.1/libexec/..: 没有那个文件或目录
hnd3: bash: line 0: cd: /home/hadoop/package/hadoop-1.2.1/libexec/..: 没有那个文件或目录
hnd2: bash: line 0: cd: /home/hadoop/package/hadoop-1.2.1/libexec/..: 没有那个文件或目录
hnd2: starting secondarynamenode, logging to /root/hadoop-1.2.1/libexec/../logs/hadoop-roo
t-secondarynamenode-hnd2.outhnd2: Error: JAVA_HOME is not set.
JAVA_HOME 已经配置了 [root@hnd1 bin]# java -version
java version "1.8.0_91"
[root@hnd2 libexec]# java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
[root@hnd3 ~]# java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
hadoop-1.2.1/libexec/这个文件 是什么 ? 我安装后没有这个目录
HUX布斯