milleruntime opened a new issue #2298:
URL: https://github.com/apache/accumulo/issues/2298


   The class 
core/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java registers 
a static singleton with SingletonManager. It might be possible to refactor this 
code to live in ServerContext. There is already a `ZooReaderWriter` object 
living in `ServerContext`. 
   
   There are two access points to the static state in ZooSession:
   - getAuthenticatedSession() - used by ZooReaderWriter, ServiceLockIT
   - getAnonymousSession() - used by ZooReader, ExternalCompactionUtil


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to