> Hi,
> 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? Yes > > 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. Please file an issue. I do not immediately see the problem at hand. Your welcome, Olaf
signature.asc
Description: Message signed with OpenPGP using GPGMail
