You also need to remove data in you data directories on every data node Sent from my iPhone
On May 1, 2013, at 5:31 AM, "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 > > >
