You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ctubbsii (via GitHub)" <gi...@apache.org> on 2023/08/16 16:30:59 UTC

[GitHub] [accumulo] ctubbsii commented on issue #3697: ACCUMULO_JAVA_PREFIX in accumulo shell script not expanding correctly

ctubbsii commented on issue #3697:
URL: https://github.com/apache/accumulo/issues/3697#issuecomment-1680923726

   This may be intended. It is hard for me to remember exactly the reason for making this a scalar, but I think it's related to the fact that it's not possible to export an array in bash.
   
   The workaround (and perhaps the intended behavior) is for the user to write their own prefix command that incorporates all the flags and options they need, and executes with `"$@"`.
   
   So, for example, instead of doing `ACCUMULO_JAVA_PREFIX="numactl --all"`, you could instead do `ACCUMULO_JAVA_PREFIX="mynumactl.sh"` and the contents of `mynumactl.sh` would be `numactl --all "$@"`.


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