This question may be naive, but I was just wondering why the Java Zookeeper
implementation Accumulo provides gives no way to close the client
connection(s).

The reason I ask is that we spin up a mini cluster to use for various test
classes. As far as I've been able to tell, there is no way to kill the
client after you get a Connector from a Zookeeper instance connected to the
cluster.   Hence every time we shut down the cluster it dumps socket and
connection error messages because the Zookeeper client can no longer talk
to the cluster (obviously).  Given we have a very large number of tests
classes, it makes our build logs full of these exception messages.

Is there something I'm missing here or not understanding?  It seems like
the main Apache Zookeeper api has close methods, just the Accumulo one does
not.  Any insight here would be appreciated.

Thanks,

Eric

Reply via email to