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最終版本。
在此先感謝