Please do enter a JIRA. Looking at the source it seems that we log and
error, but the calling code continues. I think this is happening because
the chroot c lib code is not handling znode watches separate from state
The calling code just continues after logging an (invalid I think) error
- can you try it out and see if it works, even though the error message
is being displayed (with chroot I mean).
Mahadev Konar wrote:
This looks like a bug. Does this happen without doing any reads/writes using
the zookeeper handle?
Please do open a jira for this.
On 8/2/09 10:53 PM, "Michi Mutsuzaki" <mi...@cs.stanford.edu> wrote:
I'm doing something like this (using zookeeper-3.2.0):
zhandle_t* zh = zookeeper_init("localhost:2818/servers", watcher,
1000, 0, 0, 0);
and getting this error:
initiated connection to server [127.0.0.1:2181]
connected to server [127.0.0.1:2181] with session id=122ddb9be64016d
server path does not include chroot path /servers
The error log doesn't appear if I use "localhost:2818" without chroot.
Is this actually an error?