[
https://issues.apache.org/jira/browse/HDFS-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202991#comment-13202991
]
Bikas Saha commented on HDFS-2910:
----------------------------------
I think FSEditLog should not be starting a new segment when ending the last one
failed. Specifically in this case, the failure should abortAllJournals and
shutdown the HA NN.
Even if we fix the NN shutdown case, this bug still needs to be fixed or else
the edit logs will be left behind in an inconsistent state.
> HA: Active NN reports Bad state: BETWEEN_LOG_SEGMENTS when shared edits dir
> is inaccessible during log roll
> -----------------------------------------------------------------------------------------------------------
>
> Key: HDFS-2910
> URL: https://issues.apache.org/jira/browse/HDFS-2910
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Bikas Saha
> Assignee: Bikas Saha
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira