hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7046) HA NN can NPE upon transition to active
Date Thu, 11 Sep 2014 15:00:34 GMT

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

Daryn Sharp commented on HDFS-7046:
-----------------------------------

We've had 2 incidents.  Both were delete ops.  One was of a directory, one was of a file.

Luckily, restarting the NN allows it to recover.  Apparently the issue doesn't manifest if
the edit logs are finalized.

> HA NN can NPE upon transition to active
> ---------------------------------------
>
>                 Key: HDFS-7046
>                 URL: https://issues.apache.org/jira/browse/HDFS-7046
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0, 2.5.0
>            Reporter: Daryn Sharp
>            Priority: Critical
>
> While processing edits, the NN may decide after adjusting block totals to leave safe
mode - in the middle of the edit.  Going active starts the secret manager which generates
a new secret key, which in turn generates an edit, which NPEs because the edit log is not
open.
> # Transitions should _not_ occur in the middle of an edit.
> # The edit log appears to claim it's open for write when the stream isn't even open



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message