Skip to content

Commit 02c1fef

Browse files
committed
HBASE-27055 Add additional comments when using HBASE_TRACE_OPTS with standalone mode (#4452)
Signed-off-by: Nick Dimiduk <[email protected]>
1 parent 56b81b4 commit 02c1fef

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

conf/hbase-env.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,14 @@
148148
# https://github.com/open-telemetry/opentelemetry-java-instrumentation for details on how to
149149
# configure exporters and other components through system properties.
150150
#
151-
# The presence HBASE_TRACE_OPTS indicates that tracing should be enabled, and serves as site-wide
152-
# settings.
151+
# The presence HBASE_TRACE_OPTS indicates that tracing should be enabled, adding the agent to the
152+
# JVM launch command.
153153
# export HBASE_TRACE_OPTS="-Dotel.traces.exporter=none -Dotel.metrics.exporter=none"
154154
#
155+
# For standalone mode, you must explicitly add HBASE_TRACE_OPTS to HBASE_OPTS by uncommenting this line.
156+
# But do not use and uncomment this line if you're running in distributed mode.
157+
# export HBASE_OPTS="${HBASE_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-standalone"
158+
#
155159
# Per-process configuration variables allow for fine-grained configuration control.
156160
# export HBASE_SHELL_OPTS="${HBASE_SHELL_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-shell"
157161
# export HBASE_JSHELL_OPTS="${HBASE_JSHELL_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-jshell"

0 commit comments

Comments
 (0)