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 >> Is there a way to get the first 'n' children of a node?


Copy link to this message
-
Is there a way to get the first 'n' children of a node?
We are building up some quite large (100,000) lists of items under a node.
 Each item is small but there are a lot of them.

I need to process these items but certainly don't need to get the full list
at a time.

I don't see any way to get 'some' of the nodes under a node.   When I ask
for the full list zk fails with a "Packet len xzy is out of range!" error.
 I could work around this by adjusting the jute buffer size but that's a
stop gap answer at best.

Thanks.

--
http://about.me/BrianTarbox
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