當前位置:編程學習大全網 - 網站源碼 - HDFS 報錯: There are 0 datanode(s) running and 0 node(s) are excluded in this operation.

HDFS 報錯: There are 0 datanode(s) running and 0 node(s) are excluded in this operation.

出現上述問題可能是格式化兩次hadoop,導致沒有datanode

解決方法1:重啟linux,再使用start-dfs.sh和start-yarn.sh 重啟壹下hadoop

解決辦法2:找到hadoop安裝目錄下 hadoop-2.4.1/data/dfs/data裏面的current文件夾刪除

然後從新執行壹下 hadoop namenode -format

再使用start-dfs.sh和start-yarn.sh 重啟壹下hadoop

  • 上一篇:小眾寶藏視頻格式轉換就找它
  • 下一篇:vr指標炒股的絕招有哪些
  • copyright 2024編程學習大全網