You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (Jira)" <ji...@apache.org> on 2020/10/20 17:29:00 UTC

[jira] [Resolved] (ACCUMULO-4342) Admin#stopTabletServer(ClientContext, List, boolean) doesn't work with dynamic ports (0)

     [ https://issues.apache.org/jira/browse/ACCUMULO-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs resolved ACCUMULO-4342.
-----------------------------------------
    Resolution: Abandoned

Closing this stale issue. If this is still a desired feature, please open a new issue or PR at https://github.com/apache/accumulo

> Admin#stopTabletServer(ClientContext, List<String>, boolean) doesn't work with dynamic ports (0)
> ------------------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-4342
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4342
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Josh Elser
>            Assignee: Michael Wall
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)