hdfs live node = 0 | Hadoop HDFS

hdfs live node = 0 | Hadoop HDFS_第1张图片

Your DataNodes won't start, and you see something like this in logs/*datanode*:
Incompatible namespaceIDs in /tmp/hadoop-ross/dfs/data
原因
Your Hadoop namespaceID became corrupted. Unfortunately the easiest thing to do reformat the HDFS.
solution
You need to do something like this:
bin/stop-all.sh
rm -Rf /tmp/hadoop-your-username/*
bin/hadoop namenode –format

参考:http://www.hadoopor.com/thread-71-1-1.html

你可能感兴趣的:(hadoop)