Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 477BA98EC for ; Mon, 2 Apr 2012 18:51:45 +0000 (UTC) Received: (qmail 4336 invoked by uid 500); 2 Apr 2012 18:51:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 4298 invoked by uid 500); 2 Apr 2012 18:51:45 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 4290 invoked by uid 99); 2 Apr 2012 18:51:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 18:51:45 +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, 02 Apr 2012 18:51:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D8896354DF8 for ; Mon, 2 Apr 2012 18:51:23 +0000 (UTC) Date: Mon, 2 Apr 2012 18:51:23 +0000 (UTC) From: "nkeywal (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <451595203.1979.1333392683899.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <111676104.40193.1333144047597.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5682) Allow HConnectionImplementation to recover from ZK connection loss (for 0.94 only) 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/HBASE-5682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244440#comment-13244440 ] nkeywal commented on HBASE-5682: -------------------------------- .bq none of ZKUtil methods actually throw exceptions >From what is see on 0.96 it should, as the return is not reached: the pattern is too call keeperException, and keeperException throws an exception. {noformat} public void keeperException(KeeperException ke) throws KeeperException { LOG.error(prefix("Received unexpected KeeperException, re-throwing exception"), ke); throw ke; } {noformat} > Allow HConnectionImplementation to recover from ZK connection loss (for 0.94 only) > ---------------------------------------------------------------------------------- > > Key: HBASE-5682 > URL: https://issues.apache.org/jira/browse/HBASE-5682 > Project: HBase > Issue Type: Improvement > Components: client > Reporter: Lars Hofhansl > Assignee: Lars Hofhansl > Priority: Critical > Fix For: 0.94.0 > > Attachments: 5682-all-v2.txt, 5682-all-v3.txt, 5682-all.txt, 5682-v2.txt, 5682.txt > > > Just realized that without this HBASE-4805 is broken. > I.e. there's no point keeping a persistent HConnection around if it can be rendered permanently unusable if the ZK connection is lost temporarily. > Note that this is fixed in 0.96 with HBASE-5399 (but that seems to big to backport) -- 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