accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [accumulo] belugabehr edited a comment on issue #1225: Use fewer ZooKeeper watchers
Date Wed, 02 Oct 2019 14:37:13 GMT
belugabehr edited a comment on issue #1225: Use fewer ZooKeeper watchers
URL: https://github.com/apache/accumulo/issues/1225#issuecomment-537522318
 
 
   I think Curator Recipes are the way to go.  Accumulo could benefit from leaning more on
the framework throughout the code base.
   
   Just keep in mind that, in this instance, as I understand the code, to avoid recreating
this same situation, you must set the 'disableZkWatches' in the `Builder` class in order to
create a polling mechanism instead of a watcher-per-node setup like currently exists.
   
   Watch the entire structure:
   https://curator.apache.org/curator-recipes/tree-cache.html
   
   Watch just the configurations, assuming they are all themselves created under a common
root node:
   https://curator.apache.org/curator-recipes/path-cache.html

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message