You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by rammohan ganapavarapu <ra...@gmail.com> on 2018/09/10 22:35:53 UTC

How to use these system properties

Hi,

I am trying to use the new properties available in 3.4.13 version but i
couldn't find any examples, can some one help me on how to set those
properties.


*zookeeper.ipReachableTimeout*
*zookeeper.tcpKeepAlive*
*zookeeper.observer.syncEnabled*


Do i ned to set them in zoo.conf or should i pass them as extra args
as "-Dzookeeper.tcpKeepAlive=true"
to startup command ?

Thanks,
Ram

Re: How to use these system properties

Posted by Steph van Schalkwyk <sv...@gmail.com>.
thanks

+1.314.452.2896 (Tel/SMS)

On Tue, Sep 11, 2018 at 4:14 PM, rammohan ganapavarapu <
rammohanganap@gmail.com> wrote:

> just have to have those properties in zoo.conf file.
>
> 4lw.commands.whitelist=*
> leaderServes=yes
> globalOutstandingLimit=1000
> preAllocSize=65536
> syncEnabled=true
> readonlymode.enabled=false
> tcpKeepAlive=false
> ipReachableTimeout=0
>
>
> On Tue, Sep 11, 2018 at 6:56 AM Steph van Schalkwyk <
> svanschalkwyk@gmail.com>
> wrote:
>
> > Kindly post the solution for others to not have to re-invent the wheel.
> >
> >
> > +1.314.452.2896 (Tel/SMS)
> >
> > On Mon, Sep 10, 2018 at 11:18 PM, rammohan ganapavarapu <
> > rammohanganap@gmail.com> wrote:
> >
> > > NVM, i think i got it.
> > >
> > > Thanks,
> > > Ram
> > >
> > > On Mon, Sep 10, 2018 at 3:35 PM rammohan ganapavarapu <
> > > rammohanganap@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > I am trying to use the new properties available in 3.4.13 version
> but i
> > > > couldn't find any examples, can some one help me on how to set those
> > > > properties.
> > > >
> > > >
> > > > *zookeeper.ipReachableTimeout*
> > > > *zookeeper.tcpKeepAlive*
> > > > *zookeeper.observer.syncEnabled*
> > > >
> > > >
> > > > Do i ned to set them in zoo.conf or should i pass them as extra args
> as
> > > "-Dzookeeper.tcpKeepAlive=true"
> > > > to startup command ?
> > > >
> > > > Thanks,
> > > > Ram
> > > >
> > >
> >
>

Re: How to use these system properties

Posted by rammohan ganapavarapu <ra...@gmail.com>.
just have to have those properties in zoo.conf file.

4lw.commands.whitelist=*
leaderServes=yes
globalOutstandingLimit=1000
preAllocSize=65536
syncEnabled=true
readonlymode.enabled=false
tcpKeepAlive=false
ipReachableTimeout=0


On Tue, Sep 11, 2018 at 6:56 AM Steph van Schalkwyk <sv...@gmail.com>
wrote:

> Kindly post the solution for others to not have to re-invent the wheel.
>
>
> +1.314.452.2896 (Tel/SMS)
>
> On Mon, Sep 10, 2018 at 11:18 PM, rammohan ganapavarapu <
> rammohanganap@gmail.com> wrote:
>
> > NVM, i think i got it.
> >
> > Thanks,
> > Ram
> >
> > On Mon, Sep 10, 2018 at 3:35 PM rammohan ganapavarapu <
> > rammohanganap@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I am trying to use the new properties available in 3.4.13 version but i
> > > couldn't find any examples, can some one help me on how to set those
> > > properties.
> > >
> > >
> > > *zookeeper.ipReachableTimeout*
> > > *zookeeper.tcpKeepAlive*
> > > *zookeeper.observer.syncEnabled*
> > >
> > >
> > > Do i ned to set them in zoo.conf or should i pass them as extra args as
> > "-Dzookeeper.tcpKeepAlive=true"
> > > to startup command ?
> > >
> > > Thanks,
> > > Ram
> > >
> >
>

Re: How to use these system properties

Posted by Steph van Schalkwyk <sv...@gmail.com>.
Kindly post the solution for others to not have to re-invent the wheel.


+1.314.452.2896 (Tel/SMS)

On Mon, Sep 10, 2018 at 11:18 PM, rammohan ganapavarapu <
rammohanganap@gmail.com> wrote:

> NVM, i think i got it.
>
> Thanks,
> Ram
>
> On Mon, Sep 10, 2018 at 3:35 PM rammohan ganapavarapu <
> rammohanganap@gmail.com> wrote:
>
> > Hi,
> >
> > I am trying to use the new properties available in 3.4.13 version but i
> > couldn't find any examples, can some one help me on how to set those
> > properties.
> >
> >
> > *zookeeper.ipReachableTimeout*
> > *zookeeper.tcpKeepAlive*
> > *zookeeper.observer.syncEnabled*
> >
> >
> > Do i ned to set them in zoo.conf or should i pass them as extra args as
> "-Dzookeeper.tcpKeepAlive=true"
> > to startup command ?
> >
> > Thanks,
> > Ram
> >
>

Re: How to use these system properties

Posted by rammohan ganapavarapu <ra...@gmail.com>.
NVM, i think i got it.

Thanks,
Ram

On Mon, Sep 10, 2018 at 3:35 PM rammohan ganapavarapu <
rammohanganap@gmail.com> wrote:

> Hi,
>
> I am trying to use the new properties available in 3.4.13 version but i
> couldn't find any examples, can some one help me on how to set those
> properties.
>
>
> *zookeeper.ipReachableTimeout*
> *zookeeper.tcpKeepAlive*
> *zookeeper.observer.syncEnabled*
>
>
> Do i ned to set them in zoo.conf or should i pass them as extra args as "-Dzookeeper.tcpKeepAlive=true"
> to startup command ?
>
> Thanks,
> Ram
>