dlmarion commented on code in PR #6073:
URL: https://github.com/apache/accumulo/pull/6073#discussion_r2722510580
##########
assemble/bin/accumulo-cluster:
##########
@@ -796,7 +796,7 @@ function prune() {
read -r -a groups <<<"$ARG_SSERVER_GROUP"
else
# find all groups known in zookeeper, this will allow pruning entire
groups that do not even exist in cluster.yaml
- readarray -t groups < <(jq -r ".summaries.S_SERVER.resourceGroups | .[]
" "$service_json")
+ readarray -t groups < <(jq -r ".summaries.S_SERVER.resourceGroups | keys
| .[]?" "$service_json")
Review Comment:
I think this change is necessary because of the changes in
https://github.com/apache/accumulo/pull/5779 to StatusSummary where the
resource groups went from a Set of names to a Map of resource group names to
number of hosts.
--
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]