Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22416

HBOSS: unit tests fail with ConnectionLoss when IPv6 enabled and not set up locally

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      I've seen that the HBOSS unit tests will fail for me with a ConnectionLoss exception. This is resolved when I force ipv4. My hunch is that we don't block for curator to become connected, and because of my local setup, the ipv6 lookup happens first and has to time-out. The test starts running but Curator hasn't yet become connected, so we fail with a ConnectionLoss in the test itself.

      We should wait for Curator to become connected and maybe add -Djava.net.preferIPv4Stack=true to surefire opts

        Attachments

        1. HBASE-22416.001.patch
          2 kB
          Josh Elser

          Issue Links

            Activity

              People

              • Assignee:
                elserj Josh Elser
                Reporter:
                elserj Josh Elser
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: