zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Drankov <titant...@gmail.com>
Subject Re: Any way to get information about cluster in CLI mode
Date Thu, 09 Nov 2017 11:01:48 GMT
Hi Alex,

That is what i was looking for. Thank you!

Best wishes,
Pavel

On 9 November 2017 at 11:05, Alexander Shraer <shralex@gmail.com> wrote:

> In 3.5 there is also the "config" CLI command described here:
> https://zookeeper.apache.org/doc/trunk/zookeeperReconfig.
> html#sc_reconfig_retrieving
>
>
> Alex
>
> On Tue, Nov 7, 2017 at 11:34 AM, Abraham Fine <afine@apache.org> wrote:
>
> > Hi Pavel-
> >
> > The ZooKeeper CLI does not have a way to get information about the
> > cluster. Although, there are other ways to get that information. You can
> > use four letter words
> > (https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.
> > html#sc_zkCommands)
> > or JMX (https://zookeeper.apache.org/doc/r3.4.10/zookeeperJMX.html).
> >
> > If you are running a version >= 3.5.0 you can use the AdminServer
> > (https://zookeeper.apache.org/doc/r3.5.3-beta/zookeeperAdmin.html#sc_
> > adminserver),
> > which provides the same functionality as four letter words.
> >
> > Regarding your second question, it is ok to not include all of the nodes
> > on the cluster. Just be aware that a client will only be aware of the
> > nodes provided in the connection string and will not be able to connect
> > if all of the nodes provided are unavailable.
> >
> > Hope this helps.
> >
> > Thanks,
> > Abe
> >
> > On Tue, Nov 7, 2017, at 05:58, Pavel Drankov wrote:
> > > Hi,
> > >
> > > I'd like to know is there any way to get information about
> cluster(amount
> > > of nodes e.g.) from Zookeeper CLI? If not what should be used instead?
> > >
> > > One more question: when providing connectString(comma separated
> > > addresses)
> > > is that okay to not provide in the string all nodes in a cluster?
> > >
> > > Best wishes,
> > > Pavel
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message