I'm attempting to control a piece of software (accumulo) that, during the initialization phase, creates entries in zookeeper. While the code to check these entries is trivial, the script is failing at the point where I'm attempting to create a new connection to zookeeper.
So my questions are:
1. Is it possible to access zookeeper directly from within my glu script?
2. If so, what is the preferred method to access zookeeper?
Thanks for the pointer to the IZKClient class. That will help during the read-only phase (checking if accumulo is configured). Unfortunately, while I need access to the same zookeeper instance, I will need different credentials when I get to the uninstall phase.
My guess is that, at this point, I'll need to have glu write the appropriate shell scripts.