Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Secondary NameNode doCheckpoint Exception


Copy link to this message
-
Re: Secondary NameNode doCheckpoint Exception
Hi,

There is some layout Version value issue in your VERSION file. Can you
please share the VERSION file content from NN and SNN ?

${dfs.name.dir}/current/VERSION

Regards
Jitendra
On Thu, Oct 3, 2013 at 1:22 PM, Furkan Bıçak <[EMAIL PROTECTED]> wrote:

> On 03-10-2013 10:44, Furkan Bıçak wrote:
>
>> 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.
>>
>>  I forgot to mention the hadoop version. I am using hadoop 1.2.1 version.
>
> Thanks.
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB