hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vineet Mishra <clearmido...@gmail.com>
Subject Yarn IncorrectVersionException while replacing datanode and namenode directory
Date Sat, 15 Aug 2015 00:32:43 GMT
Hi All,

I am running Hadoop 2.5 Yarn single node cluster and was testing to replace
the namenode and datanode directory from some other source,

I am landing into *IncorrectVersionException *while doing the same. Tried
changing namespaceID and layoutVersion as well but no luck!

Exception is mentioned below, any quick response will be highly appreciated!

2015-08-15 05:38:21,412 INFO
org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Stopping NameNode
metrics system...
2015-08-15 05:38:21,412 INFO
org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system
stopped.
2015-08-15 05:38:21,412 INFO
org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system
shutdown complete.
*2015-08-15 05:38:21,412 FATAL
org.apache.hadoop.hdfs.server.namenode.NameNode: Exception in namenode join*
*org.apache.hadoop.hdfs.server.common.IncorrectVersionException: Unexpected
version of storage directory /home/user/hdfs/name. Reported: -60. Expecting
= -57.*
at
org.apache.hadoop.hdfs.server.common.StorageInfo.setLayoutVersion(StorageInfo.java:178)
at
org.apache.hadoop.hdfs.server.common.StorageInfo.setFieldsFromProperties(StorageInfo.java:131)
at
org.apache.hadoop.hdfs.server.namenode.NNStorage.setFieldsFromProperties(NNStorage.java:608)
at
org.apache.hadoop.hdfs.server.common.StorageInfo.readProperties(StorageInfo.java:228)
at
org.apache.hadoop.hdfs.server.namenode.FSImage.recoverStorageDirs(FSImage.java:323)
at
org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:202)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:955)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:700)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:529)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:585)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:751)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:735)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1407)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1473)
2015-08-15 05:38:21,415 INFO org.apache.hadoop.util.ExitUtil: Exiting with
status 1
2015-08-15 05:38:21,416 INFO
org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG:

Thanks!

Mime
View raw message