hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furkan Bıçak <bicak...@gmail.com>
Subject Secondary NameNode doCheckpoint Exception
Date Thu, 03 Oct 2013 07:44:41 GMT
Hi Everyone,

I am starting my hadoop cluster manually from Java which works fine 
until some time. When secondary NameNode tries to do merge it gives me 
the following exception:

---------------------------
13/10/03 10:29:38 ERROR namenode.SecondaryNameNode: Throwable Exception 
in doCheckpoint:
13/10/03 10:29:38 ERROR namenode.SecondaryNameNode: 
java.lang.AssertionError: Negative layout version is expected.
     at 
org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:857)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.doMerge(SecondaryNameNode.java:780)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.access$600(SecondaryNameNode.java:680)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doMerge(SecondaryNameNode.java:557)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:521)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doWork(SecondaryNameNode.java:396)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.run(SecondaryNameNode.java:360)
     at java.lang.Thread.run(Thread.java:724)

java.lang.AssertionError: Negative layout version is expected.
     at 
org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:857)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.doMerge(SecondaryNameNode.java:780)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.access$600(SecondaryNameNode.java:680)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doMerge(SecondaryNameNode.java:557)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:521)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doWork(SecondaryNameNode.java:396)
     at 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.run(SecondaryNameNode.java:360)
     at java.lang.Thread.run(Thread.java:724)
---------------------------

What causes this exception to occur?
Any help would be appreciated!

Kind Regards,

Furkan Bicak.


Mime
View raw message