dlmarion commented on code in PR #5865:
URL: https://github.com/apache/accumulo/pull/5865#discussion_r2364487917
##########
assemble/bin/accumulo-cluster:
##########
@@ -328,6 +332,10 @@ function parse_config() {
echo "$(yellow WARN): No compactor groups configured"
else
for group in $COMPACTOR_GROUPS; do
+ if ! ${all_resource_groups[$group]}; then
Review Comment:
Fixed in 63fbabf
##########
assemble/bin/accumulo-cluster:
##########
@@ -305,8 +298,19 @@ function parse_config() {
trap 'rm -rf -- "$AC_TMP_DIR"' EXIT
fi
+ RG_FILE="$AC_TMP_DIR/ZooInfoViewer.out"
+ if isDebug; then
+ debug "Printing resource groups to $RG_FILE"
+ fi
+ "$accumulo_cmd" "zoo-info-viewer" "--print-resource-groups" >"$RG_FILE" ||
exit 1
+ read -r -a all_resource_groups <<<"$(grep "Resource Groups: " "$RG_FILE" |
sed "s/Resource Groups: //")"
+ if isDebug; then
+ debug "All resource groups: ${all_resource_groups[*]}"
+ fi
+ rm -f "$RG_FILE"
Review Comment:
Fixed in 63fbabf
--
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]