Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2262

Include java.net.preferIPv4Stack=true in process startup

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.4, 1.5.0
    • Fix Version/s: 1.4.5, 1.5.1, 1.6.0
    • Component/s: scripts
    • Labels:
      None

      Description

      I ran into this on a system that didn't have ipv6 disabled. Hadoop started up just fine; however, Accumulo tried to come up but couldn't communicate to itself.

      After some netstat investigation, I realized that it bound to the wrong "localhost". We should do like Hadoop and include the -Djava.net.preferIPv4Stack=true java opt when we start Accumulo processes to make things a bit more resilient.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: