原因:進行 hadoop 格式化的時候沒有事先結(jié)束所有進程,或者多次進行了 format 導致的 datanode 的 clusterID 和 namenode 的 clusterID 不匹配,從而在啟動后沒有 datanode 進程。
解決辦法1:文章來源:http://www.zghlxwxcb.cn/news/detail-744343.html
- 刪除hadoop下的日志文件logs
- 重新格式化
解決辦法2(成功率更高):文章來源地址http://www.zghlxwxcb.cn/news/detail-744343.html
- 重新安裝,或者恢復快照
- 重新格式化
到了這里,關(guān)于啟動 Hadoop 后沒有 dataNode 進程的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!