Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-66

use IPv4 for builds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • None
    • None

    Description

      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.

      Attachments

        1. BOOKKEEPER-66.patch
          0.4 kB
          Matthieu Morel
        2. BOOKKEEPER-66.patch
          2 kB
          Matthieu Morel

        Activity

          People

            ikelly Ivan Kelly
            mmorel Matthieu Morel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: