You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/04/01 11:55:56 UTC

[GitHub] [accumulo] dlmarion commented on a change in pull request #2603: Modified accumulo-cluster to pass -a when host is an IP address

dlmarion commented on a change in pull request #2603:
URL: https://github.com/apache/accumulo/pull/2603#discussion_r840513348



##########
File path: assemble/bin/accumulo-cluster
##########
@@ -119,6 +119,24 @@ function control_service() {
   host="$2"
   service="$3"
 
+  #
+  # The server processes take arguments (e.g. -a, -p, -o, -q [in the case of the Compactor]).
+  #
+  if [[ $# -gt 3 ]]; then
+    EXTRA_ARGS="${@:4}"
+  else
+    EXTRA_ARGS=""
+  fi
+
+  #
+  # If the host is an IP address, then pass the IP address in the -a argument to the server. If
+  # this is not done, then the default IP address if 0.0.0.0 is assigned and the host name is used

Review comment:
       > maybe this should always pass the -a option
   
   I'm good with this




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