Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> Znode Timestamp?

Techy Teck 2013-11-13, 05:51
Copy link to this message
Re: Znode Timestamp?
You can definitely get this directly from zookeeper.


See exists and getData


Not sure about curator but i am guessing there would be some way to get
zookeeper reference from curatorFramework object.
On Tue, Nov 12, 2013 at 9:51 PM, Techy Teck <[EMAIL PROTECTED]> wrote:

> When we create any znode or update znode's data then is there any
> timestamps related with znode?
> Basically I am interested in getting the znode timestamp when that node got
> created or when it got updated?
> I am using apache curator library -
>            CuratorFramework client > CuratorClient.createSimple("localhost:2181");
>            client.start();
> Any thoughts?
Jordan Zimmerman 2013-11-15, 02:04