> Sorry Harsh and thanks for the advice. I'm new to Hadoop and didn't thought > of reading the logs. But you're right. Now, the DATANODE is not starting: > > 2010-10-04 23:09:22,812 ERROR > org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException: > Incompatible namespaceIDs in /private/tmp/hadoop-Hadoop/dfs/data: namenode > namespaceID = 200395975; datanode namespaceID = 1970823831 > at > org.apache.hadoop.hdfs.server.datanode.DataStorage.doTransition(DataStorage.java:233) > at > org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage.java:148) > at > org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:298) > at > org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:216) > at > org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1283) > at > org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1238) > at > org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1246) > at > org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1368) > > But again what is incompatible here? I think it's because I added > dfs.data.dir to be /user/Hadoop/hdfs/data and dfs.name.dir to be > user/Hadoop/hdfs/name into the core-site.xml. > > Maha
> > On Oct 4, 2010, at 11:08 PM, Harsh J wrote: > >> The logs tell what the problem is precisely 99% of times. Formatting is not >> the only solution. How and when does your node go down? Give the list some >> more information to help you better :) >> >> On Oct 5, 2010 11:35 AM, "maha" <m...@umail.ucsb.edu> wrote: >> >> Hi Neil, >> >> Thanks for responding. Basically formatting removes all my files, is there >> away not to? I didn't thought about checking the log. Thanks, >> >> Maha >> >> >> On Oct 4, 2010, at 10:54 PM, Neil Ghosh wrote: >> >>> Maha, >>> >>> Is there any specific reason you don't... >