keith-turner opened a new pull request, #5745:
URL: https://github.com/apache/accumulo/pull/5745

   Currently the admin stop command takes a list of hostnames which are assumed 
to be tservers.  This change allows admin stop to also take a list of host:port 
pairs.  For these host:port pairs they can be any accumulo server type and the 
new gracefulShutdown code will be called for them.  The admin signalShutdown 
command was removed since the stop command is calling the same code internally 
now.
   
   When ports are not specified the command behaves exactly as it used to. 
However a deprecation warning is logged because the old command would use local 
config to guess at ports, so it would never stop tservers on a host where its 
local config had different ports. Hopefully the deprecated behavior of only 
specifying host can be replaced w/ something like the following.  Need to see 
what the actual command would look like.
   
   ```bash
   acummulo admin stop $(accumulo admin serviceStatus | grep 
$tserver_host_to_stop | ???)
   ```


-- 
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