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

Allen Wittenauer updated HDFS-3625:
-----------------------------------
    Fix Version/s:     (was: 3.0.0)
                   2.0.3-alpha

> Fix TestBackupNode by properly initializing edit log
> ----------------------------------------------------
>
>                 Key: HDFS-3625
>                 URL: https://issues.apache.org/jira/browse/HDFS-3625
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Junping Du
>            Priority: Blocker
>             Fix For: 2.0.3-alpha
>
>         Attachments: HDFS-3625.patch, HDFS-3625.patch
>
>
> TestBackupNode#testCheckpointNode fails because the following code in 
> FSN#startActiveServices NPEs (resulting in a System.exit) because 
> editLogTailer is set when starting standby services and if ha is not enabled 
> we go directly to the active state. Looks like it should be wrapped with an 
> haEnabled check.
> {code}
> LOG.info("Catching up to latest edits from old active before " +
>    "taking over writer role in edits logs.");
> editLogTailer.catchupDuringFailover();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to