Hi Olaf,

Thank you for the quick reply.

Does the /var/lib/zookeeper/myid file contain the correct number x for
> server.x statement after running puppet?
> AFAIK the list "hadoop_zookeeper::server::ensemble" should be stable.
>

/var/lib/zookeeper/myid on any given machine is 0. Should those ids
actually be consistent across machines? So if a machine is listed as
server.2=<someip>:2888:3888, /var/lib/zookeeper/myid for that machine
should be 2?

If so, I think that this line in the zoo.cfg template is the culprit:

<% @ensemble.each_with_index do |server,idx| %>
server.<%= idx %>=<%= server %>
<% end %>

I can refactor that so that it takes a list of ids and ips, rather than
using ruby's built in idx, and submit a patch.

2) Ahem, the zookeper-rest server is not configured by puppet. I didn't
> needed it before.
> It should be startable by " systemctl start  zookeeper-rest". If not,
> please open a JIRA. we have to look into it.
>

Got it. I think that I got mislead by that .svc file. I appear to have been
wrong about zookeeper-rest getting automatically apt-installed. If I apt
install it myself, it seems to work. I'll play with it, and file a ticket
if it doesn't seem to automagically work with the Bigtop Zookeeper setup.

Thank you again,
~ PeteVG

Reply via email to