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

Switch to Threaded View
Zookeeper >> mail # user >> Best Practice while creating znodes?


Copy link to this message
-
Re: Best Practice while creating znodes?
Sure.. Thanks for the help..

Apart from that like, znodes name should be small? Is that the case as
well? Or it doesn't matter if it is long as well?
On Thu, Nov 7, 2013 at 10:57 AM, Jordan Zimmerman <
[EMAIL PROTECTED]> wrote:

> There are very few limitations on naming. You can't use a slash. Have a
> look at:
>
> org.apache.zookeeper.common.PathUtils
>
> In terms of length, ZooKeeper has a 1MB limit per API call. So, for
> example, if you call getChildren(), the entire length of all the children
> can't exceed 1MB (unless you reconfigure ZK).
>
> -JZ
>
> On Nov 7, 2013, at 10:45 AM, Techy Teck <[EMAIL PROTECTED]> wrote:
>
> Can anyone help me on this?
>
> Is there any best practices that we need to follow while creating the
> znodes?
>
> Meaning the znode name should be small not very large names or there
> shouldn't be a dot or underscore within the word?
>
> Anything like that?
>
> I will be using Apache Curator.
>
>
>
>
> On Wed, Nov 6, 2013 at 11:24 AM, Techy Teck <[EMAIL PROTECTED]>wrote:
>
>> Is there any best practices that we need to follow while creating the
>> znodes?
>>
>> Meaning the znode name should be small not very large names or there
>> shouldn't be a dot or underscore within the word?
>>
>> Anything like that?
>>
>>
>
>