Nick Dimiduk
36a5f86c50
HBASE-26531 Trace coprocessor exec endpoints
...
Trace table ExecService invocations as table operations. Ensure span relationships for both table
and master invocations.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-14 11:27:30 +01:00
Ruanhui
fd301ad55f
HBASE-26323 Introduce a Snapshot Procedure ( #4115 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-12 23:21:22 +08:00
Duo Zhang
c2485215de
HBASE-25465 Use javac --release option for supporting cross version compilation ( #4164 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-12 16:51:49 +08:00
Andrew Purtell
10471944bd
HBASE-26582 Prune use of Random and SecureRandom objects ( #4118 )
...
Avoid the pattern where a Random object is allocated, used once or twice, and
then left for GC. This pattern triggers warnings from some static analysis tools
because this pattern leads to poor effective randomness. In a few cases we were
legitimately suffering from this issue; in others a change is still good to
reduce noise in analysis results.
Use ThreadLocalRandom where there is no requirement to set the seed to gain
good reuse.
Where useful relax use of SecureRandom to simply Random or ThreadLocalRandom,
which are unlikely to block if the system entropy pool is low, if we don't need
crypographically strong randomness for the use case. The exception to this is
normalization of use of Bytes#random to fill byte arrays with randomness.
Because Bytes#random may be used to generate key material it must be backed by
SecureRandom.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-08 13:49:02 -08:00
Bryan Beaudreault
39ecaa1975
HBASE-26784 Use HIGH_QOS for ResultScanner.close requests ( #4146 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-03-08 10:48:57 +08:00
Nick Dimiduk
2b9ab90a03
HBASE-26759 Fix trace continuity through CallRunner ( #4126 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-04 15:23:25 -08:00
Nick Dimiduk
9c037b1be7
HBASE-26764 Implement generic exception support for TraceUtil methods over Callables and Runnables
...
For the `TraceUtil` methods that accept `Callable` and `Runnable` types, make them generic over a
child of `Throwable`. This allows us to consolidate the two method signatures into a single more
flexible definition.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-03 12:18:33 +01:00
Niels Basjes
f6b74b3083
HBASE-26762 Un-Deprecate and improve documentation for Scan#setRowPrefixFilter ( #4119 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-02 20:19:13 +08:00
Nick Dimiduk
5dc663ea38
HBASE-26765 Minor refactor of async scanning code ( #4121 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-02-24 17:20:57 +01:00
Andrew Purtell
407c6e7b22
HBASE-26730 Extend hbase shell 'status' command to support an option 'tasks' ( #4095 )
...
Signed-off-by: Geoffrey Jacoby <gjacoby@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-02-15 18:38:18 -08:00
Yutong Xiao
1af22625e9
HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down ( #4073 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-02-15 20:28:00 +08:00
Nick Dimiduk
6c3c53a81c
HBASE-26521 Name RPC spans as `$package.$service/$method` ( #4024 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-02-09 15:22:31 +01:00
Nick Dimiduk
a9d63e8623
HBASE-26472 Adhere to semantic conventions regarding table data operations (addendum)
...
Ensure table data operations emit one and only one span.
2022-02-01 13:52:59 -08:00
Huaxiang Sun
351caa5bcc
Revert "HBASE-26649 Support meta replica LoadBalance mode for RegionLocator#getAllRegionLocations() ( #4044 )"
...
This reverts commit 8c607397c1
.
2022-01-31 09:48:46 -08:00
Nick Dimiduk
d132bd008a
HBASE-26473 Introduce `db.hbase.container_operations` span attribute ( #4079 )
...
For batch operations, collect and annotate the associated span with the set of all operations
contained in the batch.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-31 09:25:18 -08:00
Bryan Beaudreault
99b61f3498
HBASE-26713 Default to LATEST_TIMESTAMP if no timestamp sent along on Increment/Append ( #4074 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-01-28 12:55:43 -08:00
huaxiangsun
8c607397c1
HBASE-26649 Support meta replica LoadBalance mode for RegionLocator#getAllRegionLocations() ( #4044 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-28 10:18:48 -08:00
Duo Zhang
056e8fb88b
Revert "HBASE-26473 Introduce `db.hbase.container_operations` span attribute"
...
This reverts commit 7d8dc35249
.
2022-01-28 21:30:54 +08:00
Duo Zhang
f278a4c98d
HBASE-26587 Introduce a new Admin API to change SFT implementation ( #4030 )
...
Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
Reviewed-by: Josh Elser <elserj@apache.org>
2022-01-28 21:07:55 +08:00
Nick Dimiduk
7d8dc35249
HBASE-26473 Introduce `db.hbase.container_operations` span attribute
...
For batch operations, collect and annotate the associated span with the set of all operations
contained in the batch.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-26 13:54:41 -08:00
Duo Zhang
c33fa3ab78
Revert "HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down. ( #4048 )"
...
This reverts commit d77ede4a29
.
2022-01-26 13:39:20 +08:00
Yutong Xiao
d77ede4a29
HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down. ( #4048 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-25 14:48:56 +08:00
Nick Dimiduk
2be39588be
HBASE-26474 Implement connection-level attributes (addendum)
...
Addressing additional comments raised in branch-2 backport PR #4014
2022-01-24 13:16:31 -08:00
Nick Dimiduk
9f47ab568a
HBASE-26520 Remove use of `db.hbase.namespance` tracing attribute ( #4015 )
...
The HBase-specific attribute `db.hbase.namespace` has been deprecated in favor of the generic
`db.name`. See also https://github.com/open-telemetry/opentelemetry-specification/issues/1760
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
2022-01-10 17:02:50 -08:00
Nick Dimiduk
5cb7ed8005
HBASE-26474 Implement connection-level attributes ( #3952 )
...
Add support for `db.system`, `db.connection_string`, `db.user`.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-05 15:32:12 -08:00
Duo Zhang
fa37aed8f6
HBASE-26481 Consider rolling upgrading from old region replication framework ( #3880 )
...
Signed-off-by: Xin Sun <ddupgs@gmail.com>
Reviewed-by: GeorryHuang <huangzhuoyue@apache.org>
2021-12-31 12:29:48 +08:00
BukrosSzabolcs
771e552cf4
HBASE-26286: Add support for specifying store file tracker when restoring or cloning snapshot
...
Closes #3851
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2021-12-22 15:05:59 -05:00
Nick Dimiduk
8f5a12f794
HBASE-26472 Adhere to semantic conventions regarding table data operations
...
Follows the guidance outlined in https://github.com/open-telemetry/opentelemetry-specification/blob/3e380e2/specification/trace/semantic_conventions/database.dm
* all table data operations are assumed to be of type CLIENT
* populate `db.name` and `db.operation` attributes
* name table data operation spans as `db.operation` `db.name`:`db.hbase.table`
note: this implementation deviates from the recommended `db.name`.`db.sql.table` and instead
uses HBase's native String representation of namespace:tablename.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
2021-12-14 15:23:16 -08:00
Yutong Xiao
b5b286d793
HBASE-26490 Add builder for class ReplicationLoadSink ( #3883 )
...
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-12-04 23:00:22 +08:00
Tak Lon (Stephen) Wu
19b0b2e8fc
HBASE-26524 Support remove coprocessor by class name via alter table command ( #3902 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2021-12-01 14:47:59 -08:00
Nick Dimiduk
ea824df571
HBASE-26471 Move tracing semantic attributes to their own class ( #3896 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
2021-12-01 09:21:20 -08:00
Duo Zhang
1152a61b5b
HBASE-26220 Use P2P communicate between region servers to sync the list for bootstrap node ( #3697 )
...
Signed-off-by: Yulin Niu <niuyulin@apache.org>
2021-09-29 21:12:58 +08:00
bitterfox
748a6827c4
HBASE-26238 Short message by Result#compareResults for VerifyReplication to avoid OOME ( #3647 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-09-28 21:48:32 +08:00
Bryan Beaudreault
ed87e98d67
HBASE-26277: Fix InterfaceAudience for BalanceRequest$Builder and BalanceResponse$Builder
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2021-09-10 10:28:13 -04:00
Bryan Beaudreault
8679e08dab
HBASE-26240 Set InterfaceAudience to Private for BalanceRequest$Builder ( #3663 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2021-09-09 10:25:20 -07:00
Bryan Beaudreault
a15e94a47f
HBASE-26147 Add a dry run mode to the balancer, where moves are calculated but not actually executed
...
Closes #3630
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org
2021-09-01 18:01:13 -04:00
Rushabh Shah
a0864ed3bc
HBASE-26103 Deprecate BufferedMutatorParams#pool method ( #3635 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: stack <stack@apache.org>
2021-08-30 10:21:32 -07:00
Duo Zhang
889049eab6
HBASE-26235 We could start RegionServerTracker before becoming active master ( #3645 )
...
Signed-off-by: Yulin Niu <niuyulin@apache.org>
2021-08-30 12:14:10 +08:00
GeorryHuang
00981643d2
HBASE-26216 Move HRegionServer.abort(String) to Abortable as a default method ( #3642 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-08-28 22:23:23 +08:00
Duo Zhang
91db10a8bc
HBASE-26180 Introduce a initial refresh interval for RpcConnectionRegistry ( #3601 )
...
Signed-off-by: Xin Sun <ddupgs@gmail.com>
2021-08-25 18:42:04 +08:00
Duo Zhang
6ed03d98ef
HBASE-26182 Allow disabling refresh of connection registry endpoint ( #3605 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2021-08-24 14:04:05 +08:00
Josh Elser
6b5bd75e46
HBASE-26212 Expose configuration to enable/disable AuthUtil
...
In some situations, a caller may know that it is properly managing the
Kerberos ticket to talk to HBase. In these situations, it's possible
that AuthUtil still tries to do renewals, but just fails repeatedly to
do so. Give a configuration flag for such clients to be able to tell
AuthUtil to simply stop trying.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Closes #3609
2021-08-21 15:57:06 -04:00
Duo Zhang
28d81ae44f
HBASE-26174 Make rpc connection registry the default registry on 3.0.0 ( #3600 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2021-08-20 15:35:07 +08:00
Duo Zhang
c8d9d4df80
HBASE-26172 Deprecated MasterRegistry ( #3566 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2021-08-19 16:16:35 +08:00
Duo Zhang
63d4970de4
HBASE-26150 Let region server also carry ClientMetaService ( #3550 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2021-08-04 23:44:10 +08:00
GeorryHuang
8ae394285a
HBASE-26091 Remove FirstKeyValueMatchingQualifiersFilter ( #3497 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-07-25 21:12:20 +08:00
meiyi
9e27de6aed
HBASE-24734 RegionInfo#containsRange should support check meta table ( #3496 )
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2021-07-22 16:07:52 +08:00
Aman Poonia
0f313176be
HBASE-25986 set default value of normalization enabled from hbase site ( #3372 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-07-19 15:25:36 +05:30
Duo Zhang
d30cc27097
HBASE-26081 Copy HBTU to hbase-testing-util, rename the HBTU related classes in hbase-server and mark them as IA.LimitedPrivate ( #3478 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2021-07-19 09:29:08 +08:00
Duo Zhang
83d1bf1667
HBASE-26090 Remove the deprecated methods in Scan which should be removed in 3.0.0 ( #3493 )
...
Signed-off-by: Yi Mei <myimeiyi@gmail.com>
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2021-07-16 22:27:22 +08:00