From common-issues-return-28823-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Mon Mar 26 07:33:07 2012 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 E10E39707 for ; Mon, 26 Mar 2012 07:33:06 +0000 (UTC) Received: (qmail 88971 invoked by uid 500); 26 Mar 2012 07:33:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 88909 invoked by uid 500); 26 Mar 2012 07:33:05 -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 88889 invoked by uid 99); 26 Mar 2012 07:33:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 07:33:05 +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; Mon, 26 Mar 2012 07:33:02 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B031D34660F for ; Mon, 26 Mar 2012 07:32:41 +0000 (UTC) Date: Mon, 26 Mar 2012 07:32:41 +0000 (UTC) From: "Aaron T. Myers (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2144453618.16464.1332747161723.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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 [ https://issues.apache.org/jira/browse/HADOOP-8212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238172#comment-13238172 ] Aaron T. Myers commented on HADOOP-8212: ---------------------------------------- bq. I agree the log message in #2 is a little odd, but I didn't want to duplicate the log message three times, and it felt a little excessive to factor out a "logIgnoredEvent()" call... do you have another suggestion, or is it OK to leave it? Yea, I figured. It's fine the way you have it. > 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 > 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