Nick Dimiduk
7d15871085
HBASE-27182 Rework tracing configuration
...
* Take advantage of the fact that OpenTelemetry can read its configuration from environment
variables and make use of this where possible, only falling back to passing properties into the
process launch configuration when it's necessary. DRY up tracing configuration and make it
easier to manage in a container environment.
* Replace `HBASE_TRACE_OPTS`, which used to act as both a feature flag and a baseline for
configuration shared across processes. Instead, use `HBASE_OTEL_TRACING_ENABLED` as a feature
flag, and let configuration reuse be handled via the environment variables that otel supports
naively.
* Add further explanation for how to write your configuration for our different deployment
modes (standalone, pseudo-distributed, fully distributed) and in different environments.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-07-11 14:37:31 +02:00
Tak Lon (Stephen) Wu
02c1fef889
HBASE-27055 Add additional comments when using HBASE_TRACE_OPTS with standalone mode ( #4452 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2022-05-24 09:29:17 -07:00
Duo Zhang
1a5b1b266c
HBASE-26899 Run spotless:apply
2022-05-01 22:41:49 +08:00
Duo Zhang
340cc6c6f1
HBASE-26802 Backport the log4j2 changes to branch-2 ( #4166 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-11 11:17:43 -08:00
Nick Dimiduk
2a2f618c9b
HBASE-26363 OpenTelemetry configuration support for per-process service names
...
Exposes process-specific tracing arguments for most of the commands that we can launch from
`bin/hbase`. In addition to serving as an on/off flag, `HBASE_TRACE_OPTS` acts as the site-wide
configuration setting. Additional variables are provided for each applicable command, giving
operators fine-grain control over which processes participate in the tracing system, and to what
degree.
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2021-11-04 11:39:36 -07:00
Nick Dimiduk
a69617d602
HBASE-26361 Enable OpenTelemetry to be used from developer sandbox
...
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-10-18 15:51:38 -07:00
Tak Lon (Stephen) Wu
dd1bdc8aff
HBASE-26137 Backport HBASE-25732 "Change the command line argument for tracing after upgrading opentelemtry to 1.0.0" to branch-2 ( #3624 )
...
14/17 commits of HBASE-22120, original commit 8df9bebdd3
Co-authored-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-09-01 15:29:09 -07:00
Tak Lon (Stephen) Wu
af460132c0
HBASE-26126 Backport HBASE-25424 "Find a way to config OpenTelemetry tracing without directly depending on opentelemetry-sdk" to branch-2 ( #3552 )
...
3/17 commits of HBASE-22120, original commit#57960fa8fa7228d65b1a4adc8e9b5b1a8158824d
Co-authored-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2021-09-01 15:29:09 -07:00
Nick Dimiduk
d19e0587fa
HBASE-25841 Add basic jshell support
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-05-19 12:02:30 -07:00
Nick Dimiduk
318af8d6f8
HBASE-24143 [JDK11] Switch default garbage collector from CMS ; Addendum ( #1594 )
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-04-27 09:36:35 -07:00
Nick Dimiduk
a2c78e99cb
HBASE-24143 [JDK11] Switch default garbage collector from CMS
...
Per comments in Jira, be explicit about what collector we
use. Existing code simply hard-codes HBASE_OPTS in
`conf/hbase-env.sh`. We now need to be a little more clever than this,
so moves the definition into `bin/hbase`. Also consolidates logic
around JVM version detection into a reusable function.
This change also changes how we set `HBASE_OPTS`. Before, we would
accept an operator's value, but always append our GC
prescription. After this change, we defer entirely to the operator's
choice, only applying our values when they've not specified their
intentions.
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-04-17 13:53:21 -07:00
Pankaj
9990ae9a13
HBASE-21612, Add developer debug options in HBase Config for REST server
2019-01-15 21:51:24 -08:00
han.congcong
5d44757b99
HBASE-21328 add HBASE_DISABLE_HADOOP_CLASSPATH_LOOKUP switch to hbase-env.sh
...
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 86cbbdea9e
)
2018-11-06 08:39:40 -06:00
Nihal Jain
0c751dadf8
HBASE-20394 HBase over rides the value of HBASE_OPTS (if any) set by client
...
Signed-off-by: Josh Elser <elserj@apache.org>
2018-04-12 14:47:32 -04:00
Umesh Agashe
1f1a13f2e2
HBASE-16753 There is a mismatch between suggested Java version in hbase-env.sh
...
Signed-off-by: Dima Spivak <dimaspivak@apache.org>
2016-10-05 10:16:41 -07:00
Jerry He
2765b9d9d9
HBASE-16667 Building with JDK 8: ignoring option MaxPermSize=256m (Niels Basjes)
2016-09-24 16:07:25 -07:00
Alex Moundalexis
0bf065a5d5
HBASE-15768 fix capitalization of ZooKeeper usage
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-05-05 15:35:44 -05:00
Misty Stanley-Jones
c575e18ab8
HBASE-14481 Deprecate HBase Wiki
...
We have an awesome community resource in our online book. It's maintained and looked after with
diligence. We also have an HBase section on the hadoop wiki that hasn't been updated since 2012.
Let's sift through the pages of the wiki, bring over any content that's still relevant and
not already present in the book, and kill the wiki.
2015-11-04 09:09:02 +10:00
stack
950050e9d6
Revert "HBASE-14728 TestRowCounter is broken in master (Abhishek Singh Chouhan)"
...
Revert because I overcommitted, included files from another patch.
This reverts commit 47659200ac
.
2015-11-02 08:06:34 -08:00
stack
47659200ac
HBASE-14728 TestRowCounter is broken in master (Abhishek Singh Chouhan)
2015-11-01 22:22:59 -08:00
Sean Busbey
4ce6f486d0
HBASE-14087 Ensure correct ASF headers for docs/code
...
* adds missing headers
* corrects some old-form headers to current
* restores proper header for guava copied LimitInputStream
* adds proper header for protobuf copied read/writeRawVarint
2015-07-29 14:25:43 -05:00
Enis Soztutar
19242fa1d1
HBASE-13516 Increase PermSize to 128MB
2015-04-27 21:14:23 -07:00
Lars George
fa299bfa80
HBASE-13165 Fix docs and scripts for default max heaps size after HBASE-11804 (code)
2015-03-11 11:20:25 +01:00
Patrick White
f2be914f73
HBASE-12569 Update scripts to control MaxDirectMemorySize via env vars
...
Signed-off-by: stack <stack@apache.org>
2014-11-24 23:57:46 -08:00
Ted Yu
b158900b68
HBASE-11666 Enforce JDK7 javac for builds on branch-1 and master (Sean Busbey)
2014-08-05 15:00:37 +00:00
Michael Stack
80557b872f
HBASE-10289 Avoid random port usage by default JMX Server. Create Custome JMX server (Qiang Tian)
2014-06-02 09:19:16 -07:00
Michael Stack
b42fd10a32
HBASE-11171 More doc improvements on block cache options
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1595267 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 17:10:12 +00:00
jyates
5ca140fe2f
HBASE-7817: Suggested JDWP debug options in hbase-env.sh are wrong (Vasu Mariyala)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1464736 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 20:45:25 +00:00
jyates
f0968bf21a
HBASE-7091: Support custom GC options in hbase-env.sh
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1424640 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 19:10:10 +00:00
jxiang
5ac2f7b343
HBASE-7274 Enable JMX metrics collection for REST Server
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1417527 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:05:27 +00:00
Michael Stack
00f8c0d6ca
HBASE-6940 Enable GC logging by default: REVERT
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1396919 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 06:22:17 +00:00
Zhihong Yu
e4e704a044
HBASE-6940 Enable GC logging by default
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1396399 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 23:12:18 +00:00
Michael Stack
cb6286c719
HBASE-6888 HBase scripts ignore any HBASE_OPTS set in the environment
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1391211 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 20:54:44 +00:00
Michael Stack
7705a19518
HBASE-6288 In hbase-daemons.sh, description of the default backup-master file path is wrong
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1381218 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 15:13:19 +00:00
Michael Stack
9c59731307
HBASE-6567 make memory locking configuration of regioservers more flexible; INCOMPLETE APPLICATION
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1374848 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 20:51:09 +00:00
Zhihong Yu
2ecce6117e
HBASE-5655 Cap space usage of default log4j rolling policy (Himanshu)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307453 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 14:46:49 +00:00
Zhihong Yu
b4f585e6a3
HBASE-5267 Add a configuration to disable the slab cache by default (Li Pi)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1241644 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 21:41:45 +00:00
Kannan Muthukkaruppan
7dbde6f932
HBASE-4761 Add Developer Debug Options to HBase Config
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1203409 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:53:42 +00:00
Michael Stack
87c500ccf3
HBASE-4775 Remove -ea from all but tests; enable it if you need it testing
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1201501 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 20:14:34 +00:00
Michael Stack
f637b4d4e8
HBASE-4714 Don't ship w/ icms enabled by default; REDO
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196120 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 16:46:33 +00:00
Michael Stack
df053660bf
HBASE-4714 Don't ship w/ icms enabled by default; REVERT -- I overcommitted by mistake
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196117 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 16:45:31 +00:00
Michael Stack
a47b0b3293
HBASE-4714 Don't ship w/ icms enabled by default
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196114 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 16:44:38 +00:00
Michael Stack
2bcc605a3f
HBASE-4027 Enable direct byte buffers LruBlockCache
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1162207 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 18:53:00 +00:00
Michael Stack
b488975ddd
HBASE-3195 Binary row keys in hbck and other miscellaneous binary key display issues
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1126872 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 05:19:20 +00:00
Michael Stack
ea24189ed6
HBASE-3561 Remove helloworldagent.jar mistakenly committed
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1103235 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 21:47:13 +00:00
Michael Stack
2a530e891c
HBASE-3603 Remove -XX:+HeapDumpOnOutOfMemoryError autodump of heap option on OOME
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1078087 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 18:23:51 +00:00
Michael Stack
9d53036b8d
HBASE-3561 OPTS arguments are duplicated
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1075439 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 17:28:35 +00:00
Michael Stack
a5ad98beed
HBASE-3561 OPTS arguments are duplicated
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1074799 13f79535-47bb-0310-9956-ffa450edef68
2011-02-26 07:01:56 +00:00
Andrew Kyle Purtell
0ae47644a4
HBASE-3423 hbase-env.sh overrides HBASE_OPTS incorrectly
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1055719 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 02:53:49 +00:00
Michael Stack
fd755dffaa
HBASE-2753 Remove sorted() methods from Result now that Gets are Scans
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003876 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 20:26:53 +00:00