From hdfs-issues-return-52664-apmail-hadoop-hdfs-issues-archive=hadoop.apache.org@hadoop.apache.org Fri Nov 9 10:48:15 2012 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 D7C07D90C for ; Fri, 9 Nov 2012 10:48:15 +0000 (UTC) Received: (qmail 12476 invoked by uid 500); 9 Nov 2012 10:48:15 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 12441 invoked by uid 500); 9 Nov 2012 10:48:15 -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 12423 invoked by uid 99); 9 Nov 2012 10:48: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 10:48:15 +0000 Date: Fri, 9 Nov 2012 10:48:15 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <2004355820.91227.1352458095513.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=13493898#comment-13493898 ] Hudson commented on HDFS-3625: ------------------------------ Integrated in Hadoop-Yarn-trunk #31 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/31/]) 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