Hi Gabriel, Could you post the content of your /etc/hosts and the output of the hostname command?
I've reproduced this locally, and have an idea of how to fix it without having to completely disable ipv6, but i'd like to confirm that your problem is a manifestation of the same thing first. -Ivan On Tue, Jun 12, 2012 at 07:19:07PM -0400, gabriel russell wrote: > So, to confirm what you all have suspected, I disabled ipv6 > > echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 > /etc/init.d/network restart > > and made the tests just start working perfectly > > Running org.apache.bookkeeper.client.TestReadTimeout > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.338 sec > Running org.apache.bookkeeper.client.BookKeeperTest > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.746 sec > ... > > > Thank you all for your help. > > Gabriel Russell > > On Tue, Jun 12, 2012 at 12:26 PM, Ivan Kelly <[email protected]> wrote: > > > Thats why I asked about the net.ipv6.bindv6only value. That seems ok > > though. I would expect -Djava.net.preferIPv4Stack=true to make java > > use the ipv4 stack though. It's strange. > > > > @Gabriel, do these machines have an ipv4 stack? > > > > -Ivan > >
