[ 
https://issues.apache.org/jira/browse/ACCUMULO-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15347493#comment-15347493
 ] 

Dave Marion commented on ACCUMULO-4342:
---------------------------------------

If I remember correctly, this has been around for a while and not associated 
with my recent changes.

> 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
>             Fix For: 1.6.6, 1.7.3, 1.8.1
>
>
> 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.4#6332)

Reply via email to