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 BD2529E42 for ; Wed, 28 Mar 2012 20:33:48 +0000 (UTC) Received: (qmail 23273 invoked by uid 500); 28 Mar 2012 20:33:48 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 23187 invoked by uid 500); 28 Mar 2012 20:33:48 -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 23178 invoked by uid 99); 28 Mar 2012 20:33:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 20:33:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 20:33:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0467134BDE3 for ; Wed, 28 Mar 2012 20:33:27 +0000 (UTC) Date: Wed, 28 Mar 2012 20:33:27 +0000 (UTC) From: "Todd Lipcon (Updated) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1703374718.29924.1332966807067.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8212) Improve ActiveStandbyElector's behavior when session expires MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HADOOP-8212: -------------------------------- Target Version/s: Auto Failover (HDFS-3042), 0.23.3, 0.24.0 (was: 0.24.0, 0.23.3) Actually this turns to be difficult to revert since some other patches have modified this same code afterward (eg the change in mock proxy creation). I will just target an amendment patch at the branch, if that's OK. > Improve ActiveStandbyElector's behavior when session expires > ------------------------------------------------------------ > > Key: HADOOP-8212 > URL: https://issues.apache.org/jira/browse/HADOOP-8212 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 0.23.3, 0.24.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 2.0.0 > > Attachments: hadoop-8212.txt, hadoop-8212.txt > > > Currently when the ZK session expires, it results in a fatal error being sent to the application callback. This is not the best behavior -- for example, in the case of HA, if ZK goes down, we would like the current state to be maintained, rather than causing either NN to abort. When the ZK clients are able to reconnect, they should sort out the correct leader based on the normal locking schemes. -- 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