Hi All,

I'm a dev at Canonical working on a Bigtop-based Zookeeper charm, and I
have two questions about Zookeeper under Bigtop:

1) What's the recommended way for an Ops person to increase quorum in a
Zookeeper cluster that has been deployed via Bigtop? Right now, my charm
overrides hadoop_zookeeper::server::ensemble with a list of the IP
addresses that it knows about, including the IP address of the node that
we're running on, and then re-runs puppet. That gives me what looks like
the correct result in zoo.cfg. I wind up with a list of servers like this:

    server.0=<some ip address>:<port>:<port>
    server.1=<some ip address>:<port>:<port>
    ...

This results in a failure to join quorum on each of the servers, with the
following errors in the logs:

2016-06-02 18:26:01,195 [myid:0] - INFO
 [WorkerSender[myid=0]:QuorumCnxManager@193] - Have smaller server
identifier, so dropping the connection: (1, 0)

Am I missing something subtle about the ordering, or the way that I need to
specify the server indexes in that list?

2) What is the simplest way to start Zookeeper REST? Bigtop installs the
zookeeper-rest package via apt, and I wind up with a zookeeper_rest.svc
file which seems to specify a service (for runit, maybe?), but I don't wind
up with a command anywhere in my path, or init init.d that will start the
REST service.

Do I need to setup a manual invocation, or am I missing a script somewhere?
(I'm trying to avoid pulling too much information about environment
variables and such into the charm, which is why I'm looking for the
simplest way to start the service.)

Thank you in advance,
~ PeteVG

Reply via email to