Hello,
I am working with the ZkAsyncSemaphore
under zk-utils and I found that I need to pre-create the znodes in ZooKeeper or an exception will be thrown. Is there a defined utility function to do this? I found one in the commons library but it uses an older client.
EDIT:
Upon investigation, it seems that there is a function safeCreate
within the semaphore that is meant to create the path for you. However, it doesn't seem to be working. I get a NoNode
error from ZooKeeper.