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

Admin#stopTabletServer(ClientContext, List<String>, boolean) doesn't work with dynamic ports (0)

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Noticed in Dave's changeset from ACCUMULO-4331 that the logic to stop the tabletservers when invoking `admin stop`won't work when the ports are set to '0' (bind a free port in the ephemeral range).

      Looks like we'd have to do a few things to make this work properly:

      1. If the tserver client port is '0' and no port is provided in the hostname to `admin stop`, we should look at ZK to stop all tservers on that host.
      2. If the tserver client port is '0' and a port is provided in the hostname to `admin stop`, we should try to just stop the tserver with the given port on that host.

      Would have to look more closely at the code to verify this all makes sense.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: