This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a4d84b3a9 fixes command variable passed to accumulo-env.sh (#6175)
4a4d84b3a9 is described below

commit 4a4d84b3a955716a9a6751d2addd3cbcb5fc2a58
Author: Keith Turner <[email protected]>
AuthorDate: Wed Mar 4 14:46:41 2026 -0800

    fixes command variable passed to accumulo-env.sh (#6175)
    
    Now that starting a manager looks like `accumulo proc manager` the
    correct thing is no longer being passed to the accumulo-env.sh for the
    `cmd` variable.  This was causing logging and other things to not work
    correctly.
---
 assemble/bin/accumulo | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/assemble/bin/accumulo b/assemble/bin/accumulo
index aa7e4ca92a..473f9e9072 100755
--- a/assemble/bin/accumulo
+++ b/assemble/bin/accumulo
@@ -34,6 +34,9 @@ function main() {
   export conf="${ACCUMULO_CONF_DIR:-${basedir}/conf}"
   export lib="${basedir}/lib"
   export cmd="$1"
+  if [[ $cmd == "proc" ]]; then
+    cmd="$2"
+  fi
 
   if [[ -z $conf || ! -d $conf ]]; then
     echo "$conf is not a valid directory.  Please make sure it exists"

Reply via email to