You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/02/23 20:56:13 UTC

[jira] [Created] (ACCUMULO-3615) ZooCache retries indefinitely

Josh Elser created ACCUMULO-3615:
------------------------------------

             Summary: 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)