Skip to content

Commit

Permalink
HBASE-27055 Add additional comments when using HBASE_TRACE_OPTS with …
Browse files Browse the repository at this point in the history
…standalone mode (#4452)

Signed-off-by: Nick Dimiduk <[email protected]>
  • Loading branch information
taklwu committed May 24, 2022
1 parent 56b81b4 commit 02c1fef
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions conf/hbase-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,14 @@
# https://github.com/open-telemetry/opentelemetry-java-instrumentation for details on how to
# configure exporters and other components through system properties.
#
# The presence HBASE_TRACE_OPTS indicates that tracing should be enabled, and serves as site-wide
# settings.
# The presence HBASE_TRACE_OPTS indicates that tracing should be enabled, adding the agent to the
# JVM launch command.
# export HBASE_TRACE_OPTS="-Dotel.traces.exporter=none -Dotel.metrics.exporter=none"
#
# For standalone mode, you must explicitly add HBASE_TRACE_OPTS to HBASE_OPTS by uncommenting this line.
# But do not use and uncomment this line if you're running in distributed mode.
# export HBASE_OPTS="${HBASE_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-standalone"
#
# Per-process configuration variables allow for fine-grained configuration control.
# export HBASE_SHELL_OPTS="${HBASE_SHELL_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-shell"
# export HBASE_JSHELL_OPTS="${HBASE_JSHELL_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-jshell"
Expand Down

0 comments on commit 02c1fef

Please sign in to comment.