While working with Hadoop / Hadoop Distibute File System , you might come across with "Incompatible namespaceID" error and your NameNode or DataNodes won't start because of this error.
This problem is related to JIRA's https://issues.apache.org/jira/browse/HDFS-107
Error org.apache.hadoop.hdfs.server.datanode.DataNode;
java.io.IOExpception: Incompatible namespaceIDs in /hadoop/hdfs/datadir:
namenode namespaceID = 515704843; datanode namespaceID = 572408927
Problem: Hadoop namespaceIDs are corrupted/have different versions with the namenode.
Solution: The quick solution for this is to format the HDFS. Most probably you will loose the data in HDFS.
Procedure:
Procedure:
bin/stop-all.sh
rm -rf /tmp/hadoop-your-user-name/*
bin/ hadoop namenode -format
September 27, 2014 at 3:32 AM
Hi,
very helpful content of your site as the way the best institute provides best training on
hadoop online training
November 1, 2014 at 3:42 AM
Hi,
Thanks for nice information and experts of big data hadoop online training provide in easy way to learn training with real time on
hadoop online training