Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> checking if a node is ephemeral


Copy link to this message
-
Re: checking if a node is ephemeral
Ishaaq,

Stat.getEphemeralOwner() should suffice.
mahadev

On Sep 22, 2011, at 10:42 PM, Ishaaq Chandy wrote:

> Hi,
> Is it sufficient to check Stat.getEphemeralOwner() != 0 to test if a node is
> ephemeral? Or is there a better way?
>
> Thanks,
> Ishaaq
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB