hadoop環境調錯

 File /user/cuichunchi/hadoop/NOTICE.txt._COPYING_ could only be replicated to 0 nodes instead of minReplication (=1).  There are 3 datanode(s) running and 3 node(s) are excluded in this operation.

上傳文件到hadoop分佈式文件系統中出現報錯:如下

解決問題:

第一將 tmp臨時文件下的hadoop文件都刪除。

然後重新執行hadoop namenode -format格式化下,之後執行腳本start-all.sh。

第二 :將每臺的防火牆關閉:

           查看防火牆: systemctl status firewalld

           關閉:systemctl stop firewalld    或者直接iptables -F即可

  

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章