0
我使用这个tutorial在CentOS 6.7上安装Hadoop 2.6,Java 1.8.0_72,并且在Hadoop-home/sbin/srart执行start-dfs.sh之前一切顺利-dfs.sh.下面是输出:Centos 6.7上的Hadoop 2.6 start-dfs.sh错误
[[email protected] sbin]$ start-dfs.sh
16/02/26 21:47:40 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [localhost]
localhost: /etc/bashrc: line 65: id: command not found
localhost: /etc/bashrc: line 65: id: command not found
localhost: /usr/bin/env: bash: No such file or directory
localhost: /etc/bashrc: line 65: id: command not found
localhost: /etc/bashrc: line 65: id: command not found
localhost: /usr/bin/env: bash: No such file or directory
Starting secondary namenodes [0.0.0.0]
0.0.0.0: /etc/bashrc: line 65: id: command not found
0.0.0.0: /etc/bashrc: line 65: id: command not found
0.0.0.0: /usr/bin/env: bash: No such file or directory
16/02/26 21:47:46 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
似乎有什么毛病/ ETV/.bashrc的@线65.但是,我查了一下并没有什么我修改。
我使用我的Mac的64位机器的Parallel VM管理器运行CentOS 6.7最终版本。
在此先感谢