The specific variable that I was trying to query was cnxTimeout, but I
noticed that many configuration variables that are documented in the admin
guide are not in the 'conf' output (I didn't compile a complete list).

We are using 3.4, but we have plans to move to 3.5 fairly soon.

Thank you for pointing me at the HTTP Admin endpoint, I will go investigate
that.

bryan


On Mon, Nov 25, 2019 at 10:31 PM Enrico Olivelli <eolive...@gmail.com>
wrote:

> Brian,
>
> Il lun 25 nov 2019, 23:36 Bryan Pendleton <bpendleton.zookee...@gmail.com>
> ha scritto:
>
> > I'm trying to build some tools that examine a running Zookeeper ensemble,
> > and one of the things I want to do in my tool is to view the complete
> > configuration of that server. The reason I want to do this is because we
> > had an operational mishap in which zoo.cfg was modified but the server
> was
> > not restarted, and hence it was not running with the configuration that
> we
> > thought it was using.
> >
> > I tried 'echo conf | nc my-host 2181', and it does print configuration
> > data, but it seems to only print a very small subset of the various
> > configuration data that can be set. The 'mntr' and 'stat' commands also
> > print some configuration data, but still only a very small subset.
> >
> > Is there a 4-letter-word command (or other live monitoring technique)
> that
> > I can use to display the *complete* configuration of a running Zookeeper
> > server, so I can exhaustively check the values of all the configuration
> > variables that it's currently using?
> >
>
> Which variable are you missing?
> What version of Zookeeper are you running?
>
> Since 3.5 (current stable and suggested version) we have the HTTP admin
> endpoint and it also is able to report more information about the status of
> the server. In the upcoming release 3.6 we also added more information.
>
> Maybe you can check the http endpoint or your running server and if it is
> missing something we can check on 3.6 (not yet released but available on
> github) whether the info you are looking for is present
>
>
> Enrico
>
>
>
> thanks,
> >
> > bryan
> >
>

Reply via email to