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

Switch to Plain View
Zookeeper >> mail # user >> Is there a way to get the first 'n' children of a node?


+
Brian Tarbox 2013-04-10, 14:15
Copy link to this message
-
Re: Is there a way to get the first 'n' children of a node?
Hi Brian,

This is not supported right now. There are some open JIRAs related to
this feature:

https://issues.apache.org/jira/browse/ZOOKEEPER-282
https://issues.apache.org/jira/browse/ZOOKEEPER-423
https://issues.apache.org/jira/browse/ZOOKEEPER-1022

I don't know if anybody is actively working on these JIRAs though.

--Michi
On Wed, Apr 10, 2013 at 7:15 AM, Brian Tarbox <[EMAIL PROTECTED]> wrote:
> 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