[
https://issues.apache.org/jira/browse/HDFS-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-2684:
------------------------------
Attachment: hdfs-2684.txt
One more BN fix for something which just started failing: when the BN shuts
down, it needs to abort its logs so that the normal NN shutdown sequence
doesn't end up finalizing them. Just adds the following to BackupNode.stop:
{code}
+ // Abort current log segment - otherwise the NN shutdown code
+ // will close it gracefully, which is incorrect.
+ getFSImage().getEditLog().abortCurrentLogSegment();
// Stop name-node threads
super.stop();
{code}
> Fix up some failing unit tests on HA branch
> -------------------------------------------
>
> Key: HDFS-2684
> URL: https://issues.apache.org/jira/browse/HDFS-2684
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, test
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Critical
> Attachments: hdfs-2684.txt, hdfs-2684.txt
>
>
> To keep moving quickly on the HA branch, we've committed some stuff even
> though some unit tests are failing. This JIRA is to take a pass through the
> failing unit tests and get back to green (or close to it). If anything turns
> out to be a major amount of work I'll file separate JIRAs.
--
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