[ 
https://issues.apache.org/jira/browse/HDFS-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HDFS-2667:
------------------------------

    Attachment: hdfs-2667.txt

Attached patch fixes the issues and adds unit tests for repeated manual 
failover and fail-back between two NNs. Both new test cases failed without the 
bug fixes.

This applies on top of HDFS-2602 and HDFS-1972 though I think only 2602 is 
necessary.
                
> HA: Fix NN Active->Standby transition
> -------------------------------------
>
>                 Key: HDFS-2667
>                 URL: https://issues.apache.org/jira/browse/HDFS-2667
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-2667.txt
>
>
> Currently when the active transitions to standby (eg for a manual failover) 
> the EditLogTailer starts tailing edits at the wrong transaction ID. This 
> causes it to double-apply a bunch of edits, which causes various problems. We 
> need to add a test which checks this state transition and fix any related 
> bugs.

--
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

        

Reply via email to