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

Switch to Plain View
Zookeeper >> mail # dev >> Storing znode on disks

Abhishek .E.S 2013-03-14, 16:49
Copy link to this message
Re: Storing znode on disks
>> For me, latency is acceptable but I require the znodes to be on  disk.

Why would you need to do that?

ZooKeeper stores the dataTree in memory, but it performs periodic snapshots
to disk, besides sync-ing a commit log also to disk, so that a node can
recover in case of failures. If you are asking to store znodes *only* in
disk then the answer is no (afaik!).

Last but not least, you should be aware that znodes are not intended to
store large quantities of data, it's not mean to be a database, but a
coordination system.


On Thu, Mar 14, 2013 at 1:49 PM, Abhishek .E.S <[EMAIL PROTECTED]>wrote:

> Hi,
> I am new to Zookeeper .
> I had a question. Zookeeper places znodes in memory to optimize data
> access.
> I am working on an experiment for which I intend to use zookeeper.
> For me, latency is acceptable but I require the znodes to be on  disk.
> Can this be achieved.
> If so, could someone please provide me the pointers for the same.
> Thanks and Regards,
> Abhishek

*"Matar um Leão por dia é fácil. O difícil é desviar das antas.", anônimo*
Abhishek .E.S 2013-03-14, 18:13
Thawan Kooburat 2013-03-14, 20:09
Rakesh R 2013-03-15, 05:35
Edward Ribeiro 2013-03-15, 22:11
Abhishek .E.S 2013-03-16, 23:44