[
https://issues.apache.org/jira/browse/HDFS-9332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-9332:
------------------------------
Attachment: HDFS-9332.001.patch
Simple patch attached. FSNamesystem already has a method which does the correct
validation, so just call that.
> Fix Precondition failures from NameNodeEditLogRoller while saving namespace
> ---------------------------------------------------------------------------
>
> Key: HDFS-9332
> URL: https://issues.apache.org/jira/browse/HDFS-9332
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Attachments: HDFS-9332.001.patch
>
>
> The check for the # of txns in the open edit log does not first check that an
> edit log segment is open, leading to a Precondition failure. This surfaced at
> HDFS-7871 which fixed that it was printing in a tight loop, but the cause of
> the Precondition failure is still present.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)