Thats not possible at the moment. Have a look at https://issues.apache.org/jira/browse/ZOOKEEPER-834

-Ivan

On 27/06/2011 19:02, Yosef Arraf wrote:
Hi Ivan,
Thanks for the replay,
we cannot use Ephemeral nodes:
"Ephemeral znodes are not allowed to have children"
Our Nodes have chields (/nodeid/attrebutes/type/id/...)

any other idea?
Thanks,
Yosef



On Mon, Jun 27, 2011 at 7:40 PM, Ivan Kelly <[email protected] <mailto:[email protected]>> wrote:

    Hi Yosef,

    Sounds like you need to create the znode as Ephemeral.
    
http://zookeeper.apache.org/doc/r3.3.3/api/org/apache/zookeeper/CreateMode.html#EPHEMERAL

    Regards
    Ivan


    On 27/06/2011 17:33, Yosef Arraf wrote:

        Hi,
        My Name is Yosef and i'm facing a problem when one of my ZooKeeper
        Clients crash or shutdown (disconnected),
        i want to delete is is znode and make it as unavailable.

        Any one have any Idea that can help me to solve my problem?

        Thanks,
        Yosef.




Reply via email to