use IPv4 for builds
-------------------

                 Key: BOOKKEEPER-66
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-66
             Project: Bookkeeper
          Issue Type: Bug
            Reporter: Matthieu Morel


On some linux boxes that run a dual IPv6-IPv4 network stack, with IPv6 enabled 
(e.g. debian-based), there is an issue with some java programs, preventing 
network connections.

This results in "org.apache.zookeeper.KeeperException$ConnectionLossException: 
KeeperErrorCode = ConnectionLoss for /ledgers" in BookieZKExpireTest test (for 
instance) but is actually due to a previous "java.net.NoRouteToHostException: 
Network is
unreachable" issue.

I could reproduce this on a debian 6 for instance, and the issue is similar 
another one detailed in a Hadoop ticket: 
https://issues.apache.org/jira/browse/HADOOP-6056

We should make sure IPv4 is used for builds so that one can build bookkeeper 
out of the box, without configuration changes to the OS.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to