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 BBCCCD82A for ; Sun, 15 Jul 2012 14:00:45 +0000 (UTC) Received: (qmail 29558 invoked by uid 500); 15 Jul 2012 14:00:44 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 29505 invoked by uid 500); 15 Jul 2012 14:00:44 -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 29494 invoked by uid 99); 15 Jul 2012 14:00:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2012 14:00:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 97C0214281C for ; Sun, 15 Jul 2012 14:00:43 +0000 (UTC) Date: Sun, 15 Jul 2012 14:00:43 +0000 (UTC) From: "Junping Du (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1194037026.54130.1342360843624.JavaMail.jiratomcat@issues-vm> In-Reply-To: <417392712.29398.1341940835951.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HDFS-3625) FSN#startActiveServices assumes standby services started 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:all-tabpanel ] Junping Du updated HDFS-3625: ----------------------------- Status: Patch Available (was: Open) > FSN#startActiveServices assumes standby services started > --------------------------------------------------------- > > 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 > Attachments: 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