You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Michael Wall (JIRA)" <ji...@apache.org> on 2017/02/02 19:43:51 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15850375#comment-15850375 ] 

Michael Wall commented on ACCUMULO-4342:
----------------------------------------

Now that I understand this is just for admin stop and has been around for a while, I am bumping this to 1.8.2.  Need to figure out how this is affected by the script rewrites in masters

> 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
>             Fix For: 1.7.3, 1.8.1, 2.0.0
>
>
> 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
(v6.3.15#6346)