Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - namenode -upgrade problem


Copy link to this message
-
namenode -upgrade problem
bharath vissapragada 2009-08-03, 19:08
Hi all ,

I have noticed some problem in my cluster when i changed the hadoop version
on the same DFS directory .. The namenode log on the master says the
following ..
ile system image contains an old layout version -16.
An upgrade to version -18 is required.
Please restart NameNode with -upgrade option.
    at
org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:312)
    at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:87)
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:309)
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:288)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:163)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:868)
2009-08-04 00:27:51,498 INFO org.apache.hadoop.ipc.Server: Stopping server
on 54310
2009-08-04 00:27:51,498 ERROR
org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException:
File system image contains an old layout version -16.
An upgrade to version -18 is required.
Please restart NameNode with -upgrade option.
    at
org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:312)
    at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:87)
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:309)
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:288)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:163)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:868)

2009-08-04 00:27:51,499 INFO
org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG

Can anyone explain me the reason ... i googled it .. but those explanations
weren't quite useful

Thanks