You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "dlmarion (via GitHub)" <gi...@apache.org> on 2023/02/10 18:17:10 UTC

[GitHub] [accumulo] dlmarion commented on a diff in pull request #3192: Removed arguments from server processes

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


##########
assemble/bin/accumulo:
##########
@@ -89,4 +89,21 @@ function main() {
   exec "${JAVA[@]}" "${JAVA_OPTS[@]}" org.apache.accumulo.start.Main "$@"
 }
 
+args=("$@")
+
+if [ -n "$ACCUMULO_BIND_ADDR" ]; then
+  args+=("-o")
+  args+=("general.process.bind.addr=${env:ACCUMULO_BIND_ADDR}")
+fi
+
+if [ -n "$ACCUMULO_COMPACTOR_QUEUE" ]; then
+  args+=("-o")
+  args+=("compactor.queue=${env:ACCUMULO_COMPACTOR_QUEUE}")
+fi
+
+if [ -n "$ACCUMULO_SSERVER_GROUP" ]; then
+  args+=("-o")
+  args+=("sserver.group=${env:ACCUMULO_SSERVER_GROUP}")
+fi
+
 main "$@"

Review Comment:
   I meant to put "$args" here...



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