hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3625) Fix TestBackupNode by properly initializing edit log
Date Mon, 16 Jul 2012 19:16:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415547#comment-13415547
] 

Hudson commented on HDFS-3625:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2547 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2547/])
    HDFS-3625. Fix TestBackupNode by properly initializing edit log during startup. Contributed
by Junping Du. (Revision 1362189)

     Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1362189
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/BackupNode.java

                
> 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: Todd Lipcon
>            Priority: Blocker
>             Fix For: 3.0.0
>
>         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 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

        

Mime
View raw message