Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9619F17701 for ; Mon, 23 Feb 2015 20:30:12 +0000 (UTC) Received: (qmail 6112 invoked by uid 500); 23 Feb 2015 20:30:12 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 6081 invoked by uid 500); 23 Feb 2015 20:30:12 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 6063 invoked by uid 99); 23 Feb 2015 20:30:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2015 20:30:12 +0000 Date: Mon, 23 Feb 2015 20:30:12 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3615) ZooCache retries indefinitely 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/ACCUMULO-3615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333764#comment-14333764 ] Josh Elser commented on ACCUMULO-3615: -------------------------------------- Personally, I don't want to rewrite ZooCache, but I'm not going to argue against it either. > ZooCache retries indefinitely > ----------------------------- > > Key: ACCUMULO-3615 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3615 > Project: Accumulo > Issue Type: Improvement > Components: client > Reporter: Josh Elser > Fix For: 1.7.0 > > > ZooCache, likely in attempts to be resilient to network flakiness, will indefinitely retry to connect to ZooKeeper. > While this is fine for internal user (Tserver, Master), this has a nasty habit of causing clients to hang forever trying to connect to something that doesn't exist. > A simple fix might be to introduce a retry count to {{ZooCacheFactory}} which we can set when creating a {{ZooCache}} in {{ZooKeeperInstance}}. Would need to consider the implications of doing this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)