curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Check Peck <comptechge...@gmail.com>
Subject Re: Best Practice while creating znodes?
Date Sun, 13 Sep 2015 21:22:26 GMT
Why all client has to set this limit. If on zookeeper side we have
configured this then it should use that. No?

Also how can we set this parameter through Curator? I don't see any methods
in CuratorrFramework which takes this variable.

On Sun, Sep 13, 2015 at 2:17 PM, Jordan Zimmerman <
jordan@jordanzimmerman.com> wrote:

> Yes, all clients. Curator just wraps ZooKeeper so all the same things
> apply.
>
> -Jordan
>
>
>
> On September 13, 2015 at 4:14:17 PM, Check Peck (comptechgeeky@gmail.com)
> wrote:
>
> I mean this code for getting children not earlier one, that is for data.
>
> List<String> children = client.getChildren().forPath(path);
>
> On Sun, Sep 13, 2015 at 2:10 PM, Check Peck <comptechgeeky@gmail.com>
> wrote:
>
>> Ok understood that part and I was correct on the 500 children nodes znode
>> name example right?
>>
>> If I can increase the jute.maxBuffer property, I do need to restart the
>> whole cluster. Correct? Is there any problem if I increase this?
>>
>> On Sun, Sep 13, 2015 at 2:08 PM, Jordan Zimmerman <
>> jordan@jordanzimmerman.com> wrote:
>>
>>> No, the 1MB limit will hit you there as well. If you try to get your
>>> data (via getData() call) it will fail. Note, you can increase the value
>>> via the jute.maxBuffer property.
>>>
>>> -Jordan
>>>
>>> On September 13, 2015 at 4:06:48 PM, Check Peck (comptechgeeky@gmail.com)
>>> wrote:
>>>
>>> What about data in those znode? They can be more than 1MB in each znode
>>> correct?
>>>
>>>
>>
>

Mime
View raw message