keith-turner opened a new issue, #5761:
URL: https://github.com/apache/accumulo/issues/5761

   **Is your feature request related to a problem? Please describe.**
   
   The `accumulo admin stop` command supports only passing in a hostname.  When 
this is done it will read a tserver property from config and use that for the 
port.  This has the following problems.
   
    * The ports in config may not match the tservers running when port search 
is used.
    * The ports in config may differ on the local machine where admin stop is 
run versus the config on the host.
    * Using tserver ports from config it impossible to stop other server types 
when using only hostname
   
   **Describe the solution you'd like**
   
   Remove or deprecate hostnames and always require a host. Then to stop 
everything running on a host could use the service status command to get a list 
of all ports for that host and pass that list to the 
   stop command.    One quirk of the current code is that when admin stop is 
given a host it waits for it to stop, when its given a host+port it initiates 
shutdown but does not wait.   Need to determine if the ability to wait is 
needed.
   
   **Describe alternatives you've considered**
   
   Another option is to change the implementation to scan zookeeper to find all 
servers on that host and stop them.  This is similar to using the service 
status command, but it give less control.    The solution that gives more 
options is probably better, even if its a bit longer command.
   
   **Additional context**
   
   There was some discussion of this in #5745 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to