hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalii Tymchyshyn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2084) Sometimes backup node/secondary name node stops with exception
Date Tue, 21 Jun 2011 06:25:48 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052360#comment-13052360

Vitalii Tymchyshyn commented on HDFS-2084:

I dont know how does it happen, but it does often for me. I have a copy of namenode state
that produces this problem on start I can share.
In general, as for me, it would be great to have an option to perform a checkpoint skipping
invalid records of any kind. Because now any such record make namenode unusable on restart
and with an option you will at most loose a bit of information.

> Sometimes backup node/secondary name node stops with exception
> --------------------------------------------------------------
>                 Key: HDFS-2084
>                 URL: https://issues.apache.org/jira/browse/HDFS-2084
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.21.0
>         Environment: FreeBSD
>            Reporter: Vitalii Tymchyshyn
>         Attachments: patch.diff
> 2011-06-17 11:43:23,096 ERROR org.apache.hadoop.hdfs.server.namenode.Checkpointer: Throwable
Exception in doCheckpoint: 
> java.lang.NullPointerException
>         at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedSetTimes(FSDirectory.java:1765)
>         at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedSetTimes(FSDirectory.java:1753)
>         at org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadEditRecords(FSEditLog.java:708)
>         at org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(FSEditLog.java:411)
>         at org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(FSEditLog.java:378)
>         at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSEdits(FSImage.java:1209)
>         at org.apache.hadoop.hdfs.server.namenode.BackupStorage.loadCheckpoint(BackupStorage.java:158)
>         at org.apache.hadoop.hdfs.server.namenode.Checkpointer.doCheckpoint(Checkpointer.java:243)
>         at org.apache.hadoop.hdfs.server.namenode.Checkpointer.run(Checkpointer.java:141)

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message