Id is different in namenode and data node.you can modify the id.I met the same issue and I completely remove all file under hadoop — Sent from Mailbox for iPhone
On Wed, May 1, 2013 at 8:32 PM, Mohsen B.Sarmadi <[email protected]> wrote: > Dear Sirs/madams > i am trying to run hadoop 1.0.4 in the pseudo distributed mode, but i am > facing with > datanode log, > 01/05/2013 13:16:54 2013-05-01 13:16:54,206 ERROR > org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException: > Incompatible namespaceIDs in /home/mohs/hadoop/dfsdirdata: namenode > namespaceID = 717658700; datanode namespaceID = 1318489331 > job-tracker log: > 01/05/2013 13:24:40 org.apache.hadoop.ipc.RemoteException: > java.io.IOException: File /home/mohs/hadoop/tmp/mapred/system/ > jobtracker.info could only be replicated to 0 nodes, instead of 1 > data-node log: > 01/05/2013 13:26:10 2013-05-01 13:26:09,711 WARN > org.apache.hadoop.hdfs.DFSClient: DataStreamer Exception: > org.apache.hadoop.ipc.RemoteException: java.io.IOException: File > /home/mohs/hadoop/tmp/mapred/system/jobtracker.info could only be > replicated to 0 nodes, instead of 1 > i have tried to solve this by removing the files in /tmp/hadoop/* and > running hadoop namenode -format > but i am facing with the same error. > do you have any solution for this? > regards > Mohsen
