We just wrote a very simple helper method that splits the path up and
creates each parent in the path. Its a total of 5 lines of code.
This isn't as efficient as it can be though if you're doing it
frequently (which we don't do), but it works for us.
~Jared
On Thu, Oct 7, 2010 at 11:35 AM, David
I think your issue is that the clientPort is the same port as the
leader communication port in the server.X entry. So the server begins
listening for clients on port 2181, but then cannot communicate with
the leader, or vice versa. Change the client port to something other
than 5181 and see if th
Neo,
To me it looks like this exception is while you are trying to call:
zk.create(path, null, Ids.OPEN_ACL_UNSAFE, CreateMode.PERSISTENT);
where:
path = "/job_id/task_id/"
Does the node /job_id already exist when you are making this request?
Zookeeper does not recursively create the path you