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 86E1017C5F for ; Tue, 31 Mar 2015 02:48:58 +0000 (UTC) Received: (qmail 45484 invoked by uid 500); 31 Mar 2015 02:48:53 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 45428 invoked by uid 500); 31 Mar 2015 02:48:53 -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 45416 invoked by uid 99); 31 Mar 2015 02:48:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 02:48:53 +0000 Date: Tue, 31 Mar 2015 02:48:53 +0000 (UTC) From: "Harsh J (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-3918) EditLogTailer shouldn't log WARN when other node is in standby mode 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-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HDFS-3918: -------------------------- Resolution: Fixed Fix Version/s: 2.8.0 Target Version/s: (was: 3.0.0, 2.0.3-alpha) Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Sorry on delay here - I recalled this after having read a NN log for troubleshooting earlier today. Verified the improvement (and the patch) still applies cleanly, and committed to branch-2 and trunk. Thanks again Todd! > EditLogTailer shouldn't log WARN when other node is in standby mode > ------------------------------------------------------------------- > > Key: HDFS-3918 > URL: https://issues.apache.org/jira/browse/HDFS-3918 > Project: Hadoop HDFS > Issue Type: Improvement > Components: ha > Affects Versions: 2.0.3-alpha > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 2.8.0 > > Attachments: hdfs-3918.txt > > > If both nodes are in standby mode, each will be trying to roll the others' logs, which results in errors like: > Unable to trigger a roll of the active NN > org.apache.hadoop.ipc.StandbyException: Operation category JOURNAL is not supported in state standby > We should catch this specific exception and not log it at WARN level, since it's expected behavior. -- This message was sent by Atlassian JIRA (v6.3.4#6332)