[ 
https://issues.apache.org/jira/browse/ACCUMULO-3615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333764#comment-14333764
 ] 

Josh Elser edited comment on ACCUMULO-3615 at 2/23/15 8:30 PM:
---------------------------------------------------------------

Personally, I don't want to rewrite ZooCache, but I'm not going to argue 
against it either. I also don't know anything about PathChildrenCache.


was (Author: elserj):
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)

Reply via email to