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

Random port for ZK in MiniAccumulo might not be unique

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.2, 1.6.1
    • 1.6.2, 1.7.0
    • test
    • None

    Description

      To start ZooKeeper in a way that won't interfere with other processes on the node, we have to choose a "random" port on the node and then configure Accumulo with that port (as we don't have a means to get the random port that ZooKeeper itself would bind to).

      The problem is that there is a delay between our choosing of a random port and ZooKeeper binding to that port which introduces a race condition.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m