Yes this is a known bug.
http://issues.apache.org/jira/browse/HADOOP-1212
You should manually remove current directory from every data-node
after reformatting the name-node and start the cluster again.
I do not believe there is any other way.
Thanks,
--Konstantin
Taeho Kang wrote:
No, I don't
No, I don't think it's a bug.
Your datanodes' data partition/directory was probably used in other HDFS
setup and thus had other namespaceID.
Or you could've used other partition/directory for your new HDFS setup by
setting different values for dfs.data.dir on your datanode. But in this
case, you