hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2084) Sometimes backup node/secondary name node stops with exception
Date Mon, 20 Jun 2011 22:22:47 GMT

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

Konstantin Shvachko commented on HDFS-2084:
-------------------------------------------

Looks like the checkpoint contains a record which tries to set time on a non-existing file.
This should not happen. So the question is how did it happen? If it's a bug we should fix
the cause. I don't see how, but if it's a legal scenario, then we can suppress NPE as you
suggest.

> 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

        

Mime
View raw message