I am going to follow up on that thread since I ran into the same problem, and it is indeed related to ZOOKEEPER-1096.
Basically I used to use the hostname in my zoo.cfg, which under Ubuntu, resolves to 127.0.1.1. So all of a sudden, upgrading ZK made my server invisible to the other machines. I remember running into that same issue with OpenMQ as well, and they explicitely mention it in their documentation: *In particular, some Linux installers automatically set the local host to a loopback network address, most commonly 127.0.0.1. On such systems, you must do the following: For each Linux system participating in the cluster, check the /etc/hosts file as part of cluster setup. If the system uses a static IP address, edit the /etc/hosts file to specify the correct address for the local host. If the address is registered with Domain Name Service (DNS), edit the file /etc/nsswitch.conf so that DNS lookup is performed before consulting the local hosts file.* http://docs.oracle.com/cd/E18930_01/html/821-2438/aeohz.html#aeoia Then I found out about the magical option *quorumListenOnAllIPs=true* to be added in zoo.cfg. I think this option should be kept not only for backward compatibility but also because it can be really useful in some deployments. Best, Ben On Thu, Mar 20, 2014 at 1:16 PM, Patrick Hunt <[email protected]> wrote: > Perhaps you could reproduce and send the logs and config files? Also > include some detail about the environment would be helpful. Windows is > quite different from linux for example. The more information you > provide the more likely we'll be able to get to the bottom of the > issue. > > Patrick > > On Thu, Mar 20, 2014 at 10:13 AM, Software Dev > <[email protected]> wrote: > > Dont have the logs available but it I think it was related to the binding > > address. In 3.4.5 I see that it binds to 0.0.0.0.0 whereas in the 3.4.6 > it > > was binding to machine-name/10.0.12.100 (some internal ip) > > > > > > On Thu, Mar 20, 2014 at 4:33 AM, FPJ <[email protected]> wrote: > > > >> I've just tried again putting a 3.4.5 ensemble up, and then replace one > by > >> one with a 3.4.6 server. It works fine for me, so I wonder if there is > some > >> corner case you're hitting. > >> > >> -Flavio > >> > >> > -----Original Message----- > >> > From: [email protected] [mailto:[email protected]] On Behalf Of > >> > Michi Mutsuzaki > >> > Sent: 20 March 2014 05:05 > >> > To: [email protected] > >> > Subject: Re: 3.4.6 release date? > >> > > >> > Yes, log files would be very helpful. It would also be helpful if you > can > >> provide > >> > a simple instruction to reproduce the problem you are seeing. > >> > > >> > Thanks! > >> > --Michi > >> > > >> > On Wed, Mar 19, 2014 at 9:59 PM, Rakesh R <[email protected]> wrote: > >> > > > >> > > Could you share the zk logs to understand the issue in detail. > >> > > > >> > > -Rakesh > >> > > > >> > > -----Original Message----- > >> > > From: Software Dev [mailto:[email protected]] > >> > > Sent: 20 March 2014 10:23 > >> > > To: [email protected] > >> > > Subject: Re: 3.4.6 release date? > >> > > > >> > > Can I chime and say that 3.4.6 (as of 2 days ago) did not work us? > We > >> > switched from 3.4.5 and our servers couldnt connect to each other. > >> > > > >> > > > >> > > On Wed, Mar 5, 2014 at 1:21 PM, Flavio Junqueira > >> > <[email protected]>wrote: > >> > > > >> > >> Hi Yip, > >> > >> > >> > >> There is a release candidate being voted right now: > >> > >> > >> > >> > >> > >> > >> > >> http://grokbase.com/t/zookeeper/dev/142qy3hkm9/vote-apache- > >> > zookeeper- > >> > >> r > >> > >> elease > >> > >> -3-4-6-candidate-0 > >> > >> > >> > >> -Flavio > >> > >> > >> > >> -----Original Message----- > >> > >> From: yipng [mailto:[email protected]] > >> > >> Sent: Wednesday, March 5, 2014 1:15 PM > >> > >> To: [email protected] > >> > >> Subject: 3.4.6 release date? > >> > >> > >> > >> Hi, > >> > >> > >> > >> There are quite a number of fixes in ZooKeeper 3.4.6, what is > its > >> > >> estimate or target release date? > >> > >> > >> > >> > >> > >> Regards, > >> > >> Yip > >> > >> > >> > >> > >> > >> > >> > >> -- > >> > >> View this message in context: > >> > >> > >> > >> http://zookeeper-user.578899.n2.nabble.com/3-4-6-release-date- > >> > tp75796 > >> > >> 2 9.html Sent from the zookeeper-user mailing list archive at > >> > >> Nabble.com. > >> > >> > >> > >> > >> > >> >
