HBASE-27055 Add additional comments when using HBASE_TRACE_OPTS with standalone mode (#4452)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
This commit is contained in:
Tak Lon (Stephen) Wu 2022-05-24 09:27:15 -07:00
parent e1843af1d5
commit 20aaa1e961
1 changed files with 6 additions and 2 deletions

View File

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