You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by dl...@apache.org on 2022/04/08 11:30:05 UTC
[accumulo-examples] branch main updated: Remove ACCUMULO_JAVA_OPTS in favor of JAVA_TOOL_OPTIONS (#98)
This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 30e613d Remove ACCUMULO_JAVA_OPTS in favor of JAVA_TOOL_OPTIONS (#98)
30e613d is described below
commit 30e613d393090f48ebad2076ec69b829a4669fe5
Author: Dave Marion <dl...@apache.org>
AuthorDate: Fri Apr 8 07:30:00 2022 -0400
Remove ACCUMULO_JAVA_OPTS in favor of JAVA_TOOL_OPTIONS (#98)
---
bin/runex | 2 +-
docs/tracing.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/runex b/bin/runex
index e53f4aa..e116fe2 100755
--- a/bin/runex
+++ b/bin/runex
@@ -41,5 +41,5 @@ fi
"$ex_home"/bin/build
export CLASSPATH="$EXAMPLES_JAR_PATH:$ex_home/conf:$ACCUMULO_HOME/lib/*:$CLASSPATH"
-java ${ACCUMULO_JAVA_OPTS} "org.apache.accumulo.examples.$1" ${*:2}
+java "org.apache.accumulo.examples.$1" ${*:2}
diff --git a/docs/tracing.md b/docs/tracing.md
index 71b8ab5..7d79e19 100644
--- a/docs/tracing.md
+++ b/docs/tracing.md
@@ -27,7 +27,7 @@ and logs for the Accumulo server processes.
2. Add the property `general.opentelemetry.enabled=true` to accumulo.properties
3. Set the following environment variables in your environment:
- ACCUMULO_JAVA_OPTS="-javaagent:/path/to/accumulo/lib/opentelemetry-javaagent-1.12.1.jar"
+ JAVA_TOOL_OPTIONS="-javaagent:/path/to/accumulo/lib/opentelemetry-javaagent-1.12.1.jar"
OTEL_TRACES_EXPORTER="logging"
## Run the Example