hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lohit Vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3897) SecondaryNameNode fails with NullPointerException
Date Mon, 04 Aug 2008 18:56:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619643#action_12619643
] 

Lohit Vijayarenu commented on HADOOP-3897:
------------------------------------------

While running secondary namenode, I saw an instance when it failed with NullPointerException.
This was while merging image which had file underconstruction. The stacktrace is below
{noformat}
2008-08-04 18:23:15,572 INFO org.apache.hadoop.hdfs.server.common.Storage: Number of files
under construction = 1
2008-08-04 18:23:15,938 ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Throwable
Exception in doCheckpoint: 
2008-08-04 18:23:15,938 ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: java.lang.NullPointerException
        at org.apache.hadoop.hdfs.server.namenode.CorruptReplicasMap.removeFromCorruptReplicasMap(CorruptReplicasMap.java:76)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.removePathAndBlocks(FSNamesystem.java:1579)
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedDelete(FSDirectory.java:607)
        at org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(FSEditLog.java:580)
        at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSEdits(FSImage.java:860)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.doMerge(SecondaryNameNode.java:571)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.access$000(SecondaryNameNode.java:467)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doMerge(SecondaryNameNode.java:344)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:308)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.run(SecondaryNameNode.java:219)
{noformat}

> SecondaryNameNode fails with NullPointerException
> -------------------------------------------------
>
>                 Key: HADOOP-3897
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3897
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.18.0, 0.19.0
>            Reporter: Lohit Vijayarenu
>
> SecondaryNameNode fails while checkpoint an image which has file under Construction with
NullPointerException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message