hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "heyongqiang" <heyongqi...@software.ict.ac.cn>
Subject datanode start failure
Date Mon, 26 May 2008 02:59:48 GMT
when i restart hdfs ,i encountered the below error,which cause the datanode exits.
if i delete the foldes and files where hadoop use to store information and then restart,its
ok.but i cannot do that everytime i restart...
anyone know why and how to avoid? thanks!

2008-05-22 09:29:51,215 INFO org.apache.hadoop.dfs.DataNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting DataNode
STARTUP_MSG:   host = 114.vega/192.168.100.114
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.16.1
STARTUP_MSG:   build = http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.16 -r
635123; compiled by 'hadoopqa' on Sun Mar  9 05:44:19 UTC 2008
************************************************************/
2008-05-22 09:30:10,662 ERROR org.apache.hadoop.dfs.DataNode: java.io.IOException: Incompatible
namespaceIDs in /opt/hadoop-0.16.1/filesystem/data: namenode namespaceID = 1486286536; datanode
namespaceID = 1825907088
        at org.apache.hadoop.dfs.DataStorage.doTransition(DataStorage.java:298)
        at org.apache.hadoop.dfs.DataStorage.recoverTransitionRead(DataStorage.java:142)
        at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:236)
        at org.apache.hadoop.dfs.DataNode.<init>(DataNode.java:162)
        at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java:2531)
        at org.apache.hadoop.dfs.DataNode.run(DataNode.java:2475)
        at org.apache.hadoop.dfs.DataNode.createDataNode(DataNode.java:2496)
        at org.apache.hadoop.dfs.DataNode.main(DataNode.java:2692)
 
2008-05-22 09:30:10,663 INFO org.apache.hadoop.dfs.DataNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down DataNode at 114.vega/192.168.100.114
************************************************************/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message