dlmarion commented on code in PR #5439:
URL: https://github.com/apache/accumulo/pull/5439#discussion_r2025386243


##########
assemble/bin/accumulo-cluster:
##########
@@ -652,6 +653,50 @@ function control_services() {
 
 }
 
+function prune(){
+  trap 'rm -f "$SERVICE_JSON"' EXIT
+  SERVICE_JSON=$(mktemp --tmpdir "accumulo-services-XXXXXXXX.json") || exit 1
+  "$accumulo_cmd" admin serviceStatus --json > $SERVICE_JSON 2>/dev/null 

Review Comment:
   If using `serviceStatus` doesn't work out, another idea may be to create 
cluster.yaml file from a running system, then sort and diff them, to determine 
what things need to be stopped and started.



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