Hi all, I'm kimhj.
I have a question. I registered a Watcher on a parent znode("/foo").
I create child znode("/foo/bar1") using a zookeeper console.
Test program received Children changed event. But there is no API getting
added znode.
ZooKeeper.getChildren() method returns all children in a paren
disconnected = false;
lastDisconnectedTime = 0;
}
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
break;
}
}
}
}
}*
2010/2/9 neptune
> I saw that wiki page. And I read this paragraph "It means that
to connect to any of the servers and will keep trying
>> to
>> connect to the three servers. It cannot expire a session on its own and
>> needs to hear from the server to know if the session is expired or not.
>>
>> Does that help?
>> Thanks
>> mahadev
>&g
any of the servers and will keep trying to
> connect to the three servers. It cannot expire a session on its own and
> needs to hear from the server to know if the session is expired or not.
>
> Does that help?
>
> Thanks
> mahadev
>
>
> On 2/8/10 2:37 PM, "
Hi all.
I have a question. I started zookeeper(3.2.2) on three servers.
When session expired event fired in following code?
I expected that if client can't connect to server(disconnected) for session
timeout, zookeeper fires session expired event.
I killed three zookeeper server sequentially. Clien