You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "keith-turner (via GitHub)" <gi...@apache.org> on 2025/07/24 20:29:01 UTC
[I] Improve or remove host handling in admin stop command [accumulo]
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: notifications-unsubscribe@accumulo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Improve or remove host handling in admin stop command [accumulo]
Posted by "ArbaazKhan1 (via GitHub)" <gi...@apache.org>.
ArbaazKhan1 commented on issue #5761:
URL: https://github.com/apache/accumulo/issues/5761#issuecomment-3176928286
I can take a look at this
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Improve or remove host handling in admin stop command [accumulo]
Posted by "keith-turner (via GitHub)" <gi...@apache.org>.
keith-turner closed issue #5761: Improve or remove host handling in admin stop command
URL: https://github.com/apache/accumulo/issues/5761
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org