我已經在裝有Ubuntu 14.04 OS的本地計算機上安裝了單節點Hadoop。現在我打算使用HDFS,當我鍵入一個簡單的命令hadoop fs -ls不起作用
[email protected]:~$ hadoop fs -ls
它顯示了以下錯誤:
15/07/10 18:24:52 WARN util.NativeCodeLoader:
Unable to load native-hadoop library for your platform...
using builtin-java classes where applicable
ls: Call From hadoop/127.0.1.1 to
localhost:9000 failed on connection exception:
java.net.ConnectException:
Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused
我不知道這個錯誤的想法,我真的很感激,如果任何人幫助我解決問題:)
試試'hadoop dfs -ls' –
感謝您的回覆!是的,我也試過了,這似乎是同一個錯誤... –
你是表眉嗎? http:// localhost:50070/dfshealth.jsp – rbyndoor