Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
a384c23
HBASE-26335 Minor improvements to IntegrationTestLoadCommonCrawl (#3731)
apurtell Oct 8, 2021
c410bae
HBASE-26339 SshPublisher will skip uploading artifacts if the build i…
Apache9 Oct 9, 2021
7832518
HBASE-26312 Shell scan fails with timestamp (#3734)
xicm Oct 9, 2021
82ccd33
HBASE-26186 jenkins script for caching artifacts should verify cached…
busbey Oct 9, 2021
ce44e16
HBASE-26284 Add HBase Thrift API to get all table names along with wh…
horvathdora Oct 11, 2021
ede4d27
HBASE-26345 Design doc for HBase NamedQueue framework
virajjasani Oct 12, 2021
4d27c47
HBASE-26359 Loosen Dockerfile pinned package versions for `create-rel…
ndimiduk Oct 13, 2021
891e90f
HBASE-26190 High rate logging of Bucket Allocator Allocation fails (#…
KulwantSingh011 Oct 14, 2021
6e7e69a
HBASE-26348 Implement a special procedure to migrate rs group informa…
Apache9 Oct 14, 2021
b898661
HBASE-26344 Fix Bug for MultiByteBuff.put(int, byte) (#3741)
comnetwork Oct 14, 2021
10f16a0
HBASE-26341 Upload dashboard html for flaky find job to nightlies (#3…
Apache9 Oct 14, 2021
ad7d698
HBASE-26350 Add a DEBUG when we fail the SASL handshake
joshelser Oct 11, 2021
7bb2b9e
Add new committer huangzhuoyue to pom.xml
Oct 15, 2021
736f3e7
HBASE-26360 Use gen_redirect_html for linking test logs (#3755)
Apache9 Oct 17, 2021
1020fe1
HBASE-26345 Design doc for HBase NamedQueue framework (ADDENDUM)
virajjasani Oct 18, 2021
4454c2f
HBASE-26364 TestThriftServer is failing 100% in our flaky test job (#…
wchevreuil Oct 18, 2021
cadac18
HBASE-26361 Enable OpenTelemetry to be used from developer sandbox
ndimiduk Oct 14, 2021
23e7aa5
HBASE-26320 Implement a separate thread pool for the LogCleaner (#3712)
z-york Oct 18, 2021
26ab9d0
HBASE-26367 Update downloads.xml for release 2.4.7
apurtell Oct 19, 2021
8a6fed7
HBASE-26316 Per-table or per-CF compression codec setting overrides (…
apurtell Oct 19, 2021
bfa4584
HBASE-26353 Support loadable dictionaries in hbase-compression-zstd (…
apurtell Oct 19, 2021
9e73ea8
HBASE-26349 Improve recent change to IntegrationTestLoadCommonCrawl (…
apurtell Oct 19, 2021
856d08e
HBASE-26371 Prioritize meta region move over other region moves in re…
virajjasani Oct 20, 2021
64eb237
HBASE-26383 HBCK incorrectly reports inconsistencies for recently spl…
apurtell Oct 20, 2021
169f2cf
HBASE-26380 Add 2.3.7 to downloads page (#3770)
ndimiduk Oct 21, 2021
4838246
HBASE-26385 Clear CellScanner when replay (#3773)
binlijin Oct 21, 2021
69656e0
HBASE-26362 Upload mvn site artifacts for nightly build to nightlies …
Apache9 Oct 21, 2021
0d49824
HBASE-26308 Sum of multiplier of cost functions is not populated prop…
clarax Oct 21, 2021
e0813e5
Revert "HBASE-26353 Support loadable dictionaries in hbase-compressio…
apurtell Oct 22, 2021
0d8e5e5
HBASE-26368 Fix checkstyle issues for HRegionServer (#3764)
sourabhdhanotia Oct 22, 2021
ffc154f
HBASE-26382 Use gen_redirect_html for linking flaky test logs (#3780)
Apache9 Oct 22, 2021
9e47358
HBASE-26369 Fix checkstyle issues for KeyValue and ByteBufferUtils (#…
NishthaShah Oct 22, 2021
84a527b
HBASE-26190 High rate logging of BucketAllocatorException: Allocation…
anoopsjohn Oct 24, 2021
ffb20ca
HBASE-26390 Upload src tarball to nightlies for nightly jobs (#3793)
Apache9 Oct 25, 2021
7af5277
HBASE-26327 Replicas cohosted on a rack shouldn't keep triggering Bal…
clarax Oct 25, 2021
773ff28
HBASE-26394 Cache in RSRpcServices.executeProcedures does not take ef…
comnetwork Oct 26, 2021
a2e690c
HBASE-26395 Add 1.4.14 to download page (#3796)
Apache9 Oct 26, 2021
9b7ba7f
HBASe-26395 Addendum fix sha512 for 1.4.14 src tarball
Apache9 Oct 26, 2021
8e7f78c
HBASE-26396 Remove duplicate thread creation during migrating rsgroup…
GeorryHuang Oct 27, 2021
a5a349f
HBASE-26392 Update ClassSize.BYTE_BUFFER for JDK17 (#3784)
YutSean Oct 27, 2021
45f76a4
HBASE-26353 Support loadable dictionaries in hbase-compression-zstd (…
apurtell Oct 27, 2021
60254bc
HBASE-26398 CellCounter fails for large tables filling up local disk …
stoty Oct 28, 2021
e0eaec6
HBASE-26319 Make flaky find job track more builds (#3791)
Apache9 Oct 29, 2021
ff11f11
Amend HBASE-26353 Support loadable dictionaries in hbase-compression-…
apurtell Oct 29, 2021
558ab92
HBASE-26384 Segment already flushed to hfile may still be remained in…
comnetwork Nov 1, 2021
b9b7fec
HBASE-26406 Can not add peer replicating to non-HBase (#3806)
ddupg Nov 2, 2021
72a8846
HBASE-26309 Balancer tends to move regions to the server at the end o…
clarax Nov 2, 2021
cd7a509
HBASE-26311 Balancer gets stuck in cohosted replica distribution (#3724)
clarax Nov 3, 2021
6a78f0f
HBASE-26418 Update downloads.xml for release 2.4.8
apurtell Nov 3, 2021
e782ec0
HBASE-26363 OpenTelemetry configuration support for per-process servi…
ndimiduk Oct 19, 2021
a6c09a8
HBASE-25322 Redundant Reference file in bottom region of split (#3814)
sunhelly Nov 5, 2021
01b9303
HBASE-26402 Remove branch-1.4 from compatibility matrix and release m…
Apache9 Nov 5, 2021
2a897b0
HBASE-26427 Modify download page to mention that 2.4.x is the stable …
Apache9 Nov 5, 2021
ed2f3a9
Revert "HBASE-26402 Remove branch-1.4 from compatibility matrix and r…
Apache9 Nov 5, 2021
1bb8c5c
HBASE-26402 Remove branch-1.4 from compatibility matrix and release m…
Apache9 Nov 6, 2021
8bc61f3
HBASE-26428 Add hadoop 2.10.1, 3.2.2 and 3.3.1 to our hadoop checks (…
Apache9 Nov 7, 2021
601467f
HBASE-26431 Add hadoop 3.3.x to our hadoop version support matrix (#3…
Apache9 Nov 8, 2021
62cd2b6
HBASE-26337 Optimization for weighted random generators (#3732)
clarax Nov 9, 2021
b03ed8b
HBASE-26429 HeapMemoryManager fails memstore flushes with NPE if enab…
apurtell Nov 9, 2021
407a5bd
HBASE-26430 Increase log level in DefaultHeapMemoryTuner from DEBUG t…
apurtell Nov 9, 2021
e1ca056
HBASE-26410 Fix HBase TestCanaryTool for Java17 (#3809)
YutSean Nov 9, 2021
9a720d7
HBASE-26426 Remove link to Review Board from site (#3833)
HorizonNet Nov 10, 2021
76ceda3
HBASE-26414 Tracing INSTRUMENTATION_NAME is incorrect (#3810)
ndimiduk Nov 10, 2021
cb3ecf6
HBASE-26439 improve upgrading doc (#3835)
GuoPhilipse Nov 10, 2021
f24484d
HBASE-26436 check-aggregate-license error related to javadns after HA…
ndimiduk Nov 10, 2021
628b8b7
HBASE-26450 Server configuration will overwrite HStore configuration …
GeorryHuang Nov 12, 2021
058d3a4
Revert "HBASE-26450 Server configuration will overwrite HStore config…
GeorryHuang Nov 12, 2021
539e161
HBASE-26450 Server configuration will overwrite HStore configuration …
GeorryHuang Nov 12, 2021
e1ce414
HBASE-26432 enabled tracing from shell (#3824)
kiran-maturi Nov 12, 2021
8458e44
HBASE-26438 Fix flaky test TestHStore.testCompactingMemStoreCellExcee…
comnetwork Nov 12, 2021
69a4eda
HBASE-26443 Some BaseLoadBalancer log lines should be at DEBUG level …
apurtell Nov 16, 2021
d92e908
HBASE-26444 BucketCacheWriter should log only the BucketAllocatorExce…
apurtell Nov 16, 2021
cda5a87
HBASE-26446 CellCounter should report serialized cell size counts too…
apurtell Nov 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions bin/hbase
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,19 @@ add_jdk11_deps_to_classpath() {
done
}

enable_trace() {
agent_jar=$(find lib/trace -type f -name "opentelemetry-javaagent-*")
HBASE_OPTS="$HBASE_OPTS -javaagent:$agent_jar $HBASE_TRACE_OPTS"
add_opentelemetry_agent() {
if [ -e "${OPENTELEMETRY_JAVAAGENT_PATH}" ] ; then
agent_jar="${OPENTELEMETRY_JAVAAGENT_PATH}"
elif ! agent_jar=$(find -L "${HBASE_HOME}/lib/trace" -type f -name "opentelemetry-javaagent-*" 2>/dev/null); then
# must be dev environment
f="${HBASE_HOME}/hbase-build-configuration/target/cached_classpath.txt"
if [ ! -f "${f}" ]; then
echo "As this is a development environment, we need ${f} to be generated from maven (command: mvn install -DskipTests)"
exit 1
fi
agent_jar=$(tr ':' '\n' < "${f}" | grep opentelemetry-javaagent)
fi
HBASE_OPTS="$HBASE_OPTS -javaagent:$agent_jar"
}

#Add the development env class path stuff
Expand Down Expand Up @@ -557,6 +567,7 @@ elif [ "$COMMAND" = 'jshell' ] ; then
CLASS='jdk.internal.jshell.tool.JShellToolProvider'
# set default values for HBASE_JSHELL_ARGS
read -r -a JSHELL_ARGS <<< "${HBASE_JSHELL_ARGS:-"--startup DEFAULT --startup PRINTING --startup ${HBASE_HOME}/bin/hbase_startup.jsh"}"
HBASE_OPTS="$HBASE_OPTS $HBASE_JSHELL_OPTS"
elif [ "$COMMAND" = "hbck" ] ; then
# Look for the -j /path/to/HBCK2.jar parameter. Else pass through to hbck.
case "${1}" in
Expand Down Expand Up @@ -801,8 +812,10 @@ elif [ "${DEBUG}" = "true" ]; then
fi

if [[ -n "${HBASE_TRACE_OPTS}" ]]; then
echo "Attach opentelemetry agent to enable trace"
enable_trace
if [ "${DEBUG}" = "true" ]; then
echo "Attaching opentelemetry agent"
fi
add_opentelemetry_agent
fi

# Have JVM dump heap if we run out of memory. Files will be 'launch directory'
Expand Down
28 changes: 25 additions & 3 deletions conf/hbase-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,32 @@
# export GREP="${GREP-grep}"
# export SED="${SED-sed}"

# Uncomment to enable trace, you can change the options to use other exporters such as jaeger or
# zipkin. See https://github.com/open-telemetry/opentelemetry-java-instrumentation on how to
# Tracing
# Uncomment some combination of these lines to enable tracing. You should change the options to use
# the exporters appropriate to your environment. See
# https://github.com/open-telemetry/opentelemetry-java-instrumentation for details on how to
# configure exporters and other components through system properties.
# export HBASE_TRACE_OPTS="-Dotel.resource.attributes=service.name=HBase -Dotel.traces.exporter=logging otel.metrics.exporter=none"
#
# The presence HBASE_TRACE_OPTS indicates that tracing should be enabled, and serves as site-wide
# settings.
# export HBASE_TRACE_OPTS="-Dotel.traces.exporter=none -Dotel.metrics.exporter=none"
#
# 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"
# export HBASE_HBCK_OPTS="${HBASE_HBCK_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-hbck"
# export HBASE_MASTER_OPTS="${HBASE_MASTER_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-master"
# export HBASE_REGIONSERVER_OPTS="${HBASE_REGIONSERVER_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-regionserver"
# export HBASE_THRIFT_OPTS="${HBASE_THRIFT_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-thrift"
# export HBASE_REST_OPTS="${HBASE_REST_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-rest"
# export HBASE_ZOOKEEPER_OPTS="${HBASE_ZOOKEEPER_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-zookeeper"
# export HBASE_PE_OPTS="${HBASE_PE_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-performanceevaluation"
# export HBASE_LTT_OPTS="${HBASE_LTT_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-loadtesttool"
# export HBASE_CANARY_OPTS="${HBASE_CANARY_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-canary"
# export HBASE_HBTOP_OPTS="${HBASE_HBTOP_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-hbtop"
#
# Manually specify a value for OPENTELEMETRY_JAVAAGENT_PATH to override the autodiscovery mechanism
# export OPENTELEMETRY_JAVAAGENT_PATH=""

# Additional argments passed to jshell invocation
# export HBASE_JSHELL_ARGS="--startup DEFAULT --startup PRINTING --startup hbase_startup.jsh"
Loading