keith-turner opened a new pull request, #5439: URL: https://github.com/apache/accumulo/pull/5439
As the cluster.yaml file is changed it can leave extra server process around. The accumulo-cluster script currently does not have a way to look for extra servers processes, it only operates on what is specified in the cluster.yaml file. This WIP commit is initial work to make the accumulo-cluster script look for server processes in zookeeper that are not specified by the cluster.yaml file. For example if host1 had 5 compactor processes for group G1 in zookeeper and cluster.yaml only specified 2, then there are 3 extra servers on host1. The goal would be to add commands like the following to the cluster script. ``` accumulo-cluster prune # finds extra servers and removes their locks in zookeeper accumulo-cluster prune --dry-run # only prints extra servers, does not remove any locks accumulo-cluster prune --compactors="G1,G2" # finds extra compactors in group G1 or G2 and removes their locks in zookeeper ``` This commit only adds some initial java code that flushes out the concept a bit. Would eventually call this java code from the accumulo cluster script. The java code reconciles actual server counts from zookeeper with desired server counts from cluster.yaml. Curious if anyone has any feedback on this concept and how this problems should be solved. -- 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-unsubscr...@accumulo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org