[
https://issues.apache.org/jira/browse/HDFS-7046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kihwal Lee updated HDFS-7046:
-----------------------------
Resolution: Fixed
Fix Version/s: 2.6.0
Release Note: Thanks for the reviews, gentlemen. It's been committed to
trunk and branch-2.
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
> 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
> Assignee: Kihwal Lee
> Priority: Critical
> Fix For: 2.6.0
>
> Attachments: HDFS-7046.patch, HDFS-7046_test_reproduce.patch
>
>
> 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)