Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 A77EC10D37 for ; Thu, 23 Jan 2014 06:14:41 +0000 (UTC) Received: (qmail 7202 invoked by uid 500); 23 Jan 2014 06:14:40 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 6488 invoked by uid 500); 23 Jan 2014 06:14:36 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 6445 invoked by uid 99); 23 Jan 2014 06:14:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 06:14:34 +0000 Date: Thu, 23 Jan 2014 06:14:34 +0000 (UTC) From: "Vinay (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable 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/HADOOP-10251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinay updated HADOOP-10251: --------------------------- Attachment: HADOOP-10251.patch Attaching the updated patch, fixed some synchronization issue. > Both NameNodes could be in STANDBY State if SNN network is unstable > ------------------------------------------------------------------- > > Key: HADOOP-10251 > URL: https://issues.apache.org/jira/browse/HADOOP-10251 > Project: Hadoop Common > Issue Type: Bug > Components: ha > Affects Versions: 2.2.0 > Reporter: Vinay > Assignee: Vinay > Priority: Critical > Attachments: HADOOP-10251.patch, HADOOP-10251.patch, HADOOP-10251.patch, HADOOP-10251.patch > > > Following corner scenario happened in one of our cluster. > 1. NN1 was Active and NN2 was Standby > 2. NN2 machine's network was slow > 3. NN1 got shutdown. > 4. NN2 ZKFC got the notification and trying to check for old active for fencing. (This took little more time, again due to slow network) > 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made it Active. > 6. Now NN2 ZKFC got Old Active as NN2 and it did graceful fencing of NN1 to STANBY. > 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and got shutdown before making NN2 Active. > *Now cluster having both NameNodes as STANDBY.* > NN1 ZKFC still thinks that its nameNode is in Active state. > NN2 ZKFC waiting for election. -- This message was sent by Atlassian JIRA (v6.1.5#6160)