Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05E8BDFA9 for ; Fri, 9 Nov 2012 13:02:17 +0000 (UTC) Received: (qmail 71469 invoked by uid 500); 9 Nov 2012 13:02:16 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 71108 invoked by uid 500); 9 Nov 2012 13:02:16 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 71021 invoked by uid 99); 9 Nov 2012 13:02:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 13:02:15 +0000 Date: Fri, 9 Nov 2012 13:02:15 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <101818748.91619.1352466135717.JavaMail.jiratomcat@arcas> In-Reply-To: <417392712.29398.1341940835951.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HDFS-3625) Fix TestBackupNode by properly initializing edit log MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493980#comment-13493980 ] Hudson commented on HDFS-3625: ------------------------------ Integrated in Hadoop-Hdfs-trunk #1221 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1221/]) Move HDFS-3625 and HDFS-4138 under 2.0.3 (Revision 1407189) Result = SUCCESS shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407189 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > 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: 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 For more information on JIRA, see: http://www.atlassian.com/software/jira