hbase.git
6 months agoHBASE-26787 TestRegionReplicaReplicationError should inject error in replicateToRepli...
chenglei [Thu, 3 Mar 2022 04:00:45 +0000 (12:00 +0800)] 
HBASE-26787 TestRegionReplicaReplicationError should inject error in replicateToReplica method (#4148)

6 months agoHBASE-26745: Include balancer cost metrics in jmx endpoint (#4140)
Bri Augenreich [Thu, 3 Mar 2022 01:38:05 +0000 (20:38 -0500)] 
HBASE-26745: Include balancer cost metrics in jmx endpoint (#4140)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26622 Update error-prone to 2.10
Mike Drob [Thu, 23 Dec 2021 19:00:54 +0000 (11:00 -0800)] 
HBASE-26622 Update error-prone to 2.10

Author:    Mike Drob <mdrob@apache.org>
Co-authored-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-23303 Add default security headers if SSL is enabled (#4128)
Andor Molnár [Wed, 2 Mar 2022 14:25:57 +0000 (15:25 +0100)] 
HBASE-23303 Add default security headers if SSL is enabled (#4128)

Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
6 months agoHBASE-26723 Switch to use log4j2.properties file to configure log4j2 (#4096)
Duo Zhang [Wed, 2 Mar 2022 13:08:32 +0000 (21:08 +0800)] 
HBASE-26723 Switch to use log4j2.properties file to configure log4j2 (#4096)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26762 Un-Deprecate and improve documentation for Scan#setRowPrefixFilter (...
Niels Basjes [Wed, 2 Mar 2022 12:19:13 +0000 (13:19 +0100)] 
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>
6 months agoHBASE-26776 RpcServer failure to SASL handshake always logs user "unknown" to audit...
Nick Dimiduk [Tue, 1 Mar 2022 13:33:02 +0000 (14:33 +0100)] 
HBASE-26776 RpcServer failure to SASL handshake always logs user "unknown" to audit log (#4138)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
6 months agoHBASE-26772 Shell suspended in background (#4137)
Peter Somogyi [Tue, 1 Mar 2022 10:52:07 +0000 (11:52 +0100)] 
HBASE-26772 Shell suspended in background (#4137)

Signed-off-by: Sean Busbey <busbey@apache.org>
7 months agoHBASE-26663 Upgrade Maven Enforcer Plugin
Nick Dimiduk [Wed, 23 Feb 2022 09:33:03 +0000 (10:33 +0100)] 
HBASE-26663 Upgrade Maven Enforcer Plugin

The upgrade is to get the fix in MENFORCER-336, making beanshell evaluation safe for use with `mvn
-T`. Also upgrade extra-enforcer-rules to 1.5.1, as per experience with HBASE-26664.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
7 months agoHBASE-26765 Minor refactor of async scanning code (#4121)
Nick Dimiduk [Thu, 24 Feb 2022 16:20:57 +0000 (17:20 +0100)] 
HBASE-26765 Minor refactor of async scanning code (#4121)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoAdd xiaoyt to the developer list (#4129)
Yutong Xiao [Thu, 24 Feb 2022 04:36:28 +0000 (12:36 +0800)] 
Add xiaoyt to the developer list (#4129)

7 months agoHBASE-26640 Reimplement master local region initialization to better work with SFT...
Duo Zhang [Thu, 24 Feb 2022 02:10:02 +0000 (10:10 +0800)] 
HBASE-26640 Reimplement master local region initialization to better work with SFT (#4111)

Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
7 months agoHBASE-26767 Rest server should not use a large Header Cache.
Sergey Soldatov [Wed, 23 Feb 2022 20:29:37 +0000 (15:29 -0500)] 
HBASE-26767 Rest server should not use a large Header Cache.

Closes #4123

Co-authored-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
7 months agoHBASE-26546 hbase-shaded-client missing required thirdparty classes under hadoop...
Bryan Beaudreault [Tue, 22 Feb 2022 06:19:29 +0000 (01:19 -0500)] 
HBASE-26546 hbase-shaded-client missing required thirdparty classes under hadoop 3.3.1 (#3926)

Signed-off-by: Sean Busbey <busbey@apache.org>
7 months agoHBASE-26673 Implement a shell command for change SFT implementation (#4113)
LiangJun He [Sat, 19 Feb 2022 15:00:04 +0000 (23:00 +0800)] 
HBASE-26673 Implement a shell command for change SFT implementation (#4113)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26727 Fix CallDroppedException reporting (#4088)
Bryan Beaudreault [Sat, 19 Feb 2022 01:27:09 +0000 (20:27 -0500)] 
HBASE-26727 Fix CallDroppedException reporting (#4088)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
7 months agoHBASE-26703 Allow configuration of IPC queue balancer (#4063)
Bryan Beaudreault [Sat, 19 Feb 2022 01:21:40 +0000 (20:21 -0500)] 
HBASE-26703 Allow configuration of IPC queue balancer (#4063)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
7 months agoHBASE-26576 Allow pluggable queue to be used with the fast path executor or normal...
Richard Marscher [Fri, 18 Feb 2022 18:00:10 +0000 (13:00 -0500)] 
HBASE-26576 Allow pluggable queue to be used with the fast path executor or  normal balanced executor (#3944)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
7 months agoHBASE-26659 The ByteBuffer of metadata in RAMQueueEntry in BucketCache could be reuse...
Yutong Xiao [Fri, 18 Feb 2022 14:24:51 +0000 (22:24 +0800)] 
HBASE-26659 The ByteBuffer of metadata in RAMQueueEntry in BucketCache could be reused. (#4026)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26738 Correct description of WAL directory in doc (#4097)
RyanT [Fri, 18 Feb 2022 14:20:49 +0000 (22:20 +0800)] 
HBASE-26738 Correct description of WAL directory in doc (#4097)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26707: Reduce number of renames during bulkload (#4066)
BukrosSzabolcs [Thu, 17 Feb 2022 19:34:48 +0000 (20:34 +0100)] 
HBASE-26707: Reduce number of renames during bulkload (#4066)

Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
7 months agoadd chenglei to the developer list (#4116)
chenglei [Wed, 16 Feb 2022 12:04:21 +0000 (20:04 +0800)] 
add chenglei to the developer list (#4116)

7 months agoHBASE-26712 Balancer encounters NPE in rare case (#4092)
chenglei [Wed, 16 Feb 2022 06:42:18 +0000 (14:42 +0800)] 
HBASE-26712 Balancer encounters NPE in rare case (#4092)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
7 months agoHBASE-26742 Comparator of NOT_EQUAL NULL is invalid for checkAndMutate (#4105)
Xiaolin Ha [Wed, 16 Feb 2022 03:08:33 +0000 (11:08 +0800)] 
HBASE-26742 Comparator of NOT_EQUAL NULL is invalid for checkAndMutate (#4105)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26730 Extend hbase shell 'status' command to support an option 'tasks' (#4095)
Andrew Purtell [Wed, 16 Feb 2022 02:38:18 +0000 (18:38 -0800)] 
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>
7 months agoHBASE-26434 Do compact when all L0 files are expired (#3830)
Xiaolin Ha [Tue, 15 Feb 2022 14:08:52 +0000 (22:08 +0800)] 
HBASE-26434 Do compact when all L0 files are expired (#3830)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down (...
Yutong Xiao [Tue, 15 Feb 2022 12:28:00 +0000 (20:28 +0800)] 
HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down (#4073)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26755 HBase website generation should show error details on failure (#4114)
Sean Busbey [Mon, 14 Feb 2022 20:48:45 +0000 (14:48 -0600)] 
HBASE-26755 HBase website generation should show error details on failure (#4114)

7 months agoHBASE-26753 RegionReplicationSink.send set timeout for replicating meta edits error...
chenglei [Mon, 14 Feb 2022 09:12:29 +0000 (17:12 +0800)] 
HBASE-26753 RegionReplicationSink.send set timeout for replicating meta edits error (#4110)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26749 Addendum cleanup Hadoop label reference in Jenkinsfile_GitHub
Duo Zhang [Fri, 11 Feb 2022 03:36:51 +0000 (11:36 +0800)] 
HBASE-26749 Addendum cleanup Hadoop label reference in Jenkinsfile_GitHub

7 months agoHBASE-26749 Migrate HBase main pre commit job to ci-hbase (#4107)
Duo Zhang [Fri, 11 Feb 2022 02:09:19 +0000 (10:09 +0800)] 
HBASE-26749 Migrate HBase main pre commit job to ci-hbase (#4107)

Signed-off-by: Sean Busbey <busbey@apache.org>
7 months agoHBASE-26747 Addendum use python2 directly in Jenkinsfile and Jenkinsfile_Github
Duo Zhang [Thu, 10 Feb 2022 16:03:13 +0000 (00:03 +0800)] 
HBASE-26747 Addendum use python2 directly in Jenkinsfile and Jenkinsfile_Github

7 months agoHBASE-26741 Incorrect exception handling in shell (#4101)
Peter Somogyi [Thu, 10 Feb 2022 11:14:46 +0000 (12:14 +0100)] 
HBASE-26741 Incorrect exception handling in shell (#4101)

Override eval_input in HIRB to modify exception handling logic.

Signed-off-by: Josh Elser <elserj@apache.org>
7 months agoHBASE-26521 Name RPC spans as `$package.$service/$method` (#4024)
Nick Dimiduk [Wed, 9 Feb 2022 14:22:31 +0000 (15:22 +0100)] 
HBASE-26521 Name RPC spans as `$package.$service/$method` (#4024)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26747 Addendum remove python from Jenkinsfile and Jenkinsfile_Github
Duo Zhang [Wed, 9 Feb 2022 13:29:41 +0000 (21:29 +0800)] 
HBASE-26747 Addendum remove python from Jenkinsfile and Jenkinsfile_Github

7 months agoHBASE-26747 Use python2 instead of python in our python scripts (#4102)
Duo Zhang [Wed, 9 Feb 2022 06:55:16 +0000 (14:55 +0800)] 
HBASE-26747 Use python2 instead of python in our python scripts (#4102)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
7 months agoHBASE-26702 Make ageOfLastShip, ageOfLastApplied extend TimeHistogram instead of...
Rushabh Shah [Wed, 9 Feb 2022 02:08:05 +0000 (21:08 -0500)] 
HBASE-26702 Make ageOfLastShip, ageOfLastApplied extend TimeHistogram instead of plain histogram. (#4057)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 months agoHBASE-26697 Migrate HBase Nightly HBase-Flaky-Tests and HBase-Find-Flaky-Tests to...
Duo Zhang [Sat, 22 Jan 2022 06:16:34 +0000 (14:16 +0800)] 
HBASE-26697 Migrate HBase Nightly HBase-Flaky-Tests and HBase-Find-Flaky-Tests to ci-hbase (#4053)

Signed-off-by: Yulin Niu <niuyulin@apache.org>
7 months agoHBASE-26714 Introduce path configuration for system coprocessors (#4069)
Tak Lon (Stephen) Wu [Fri, 4 Feb 2022 04:19:38 +0000 (20:19 -0800)] 
HBASE-26714 Introduce path configuration for system coprocessors (#4069)

Signed-off-by: Ankit Singhal <ankit@apache.org>
Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
7 months agoHBASE-26726 Allow disable of region warmup before graceful move (#4085)
Andrew Purtell [Tue, 1 Feb 2022 23:38:23 +0000 (15:38 -0800)] 
HBASE-26726 Allow disable of region warmup before graceful move (#4085)

Signed-off-by: Viraj Jasani<virajjasani@apache.org>
7 months agoHBASE-26472 Adhere to semantic conventions regarding table data operations (addendum)
Nick Dimiduk [Thu, 27 Jan 2022 01:04:44 +0000 (17:04 -0800)] 
HBASE-26472 Adhere to semantic conventions regarding table data operations (addendum)

Ensure table data operations emit one and only one span.

7 months agoRevert "HBASE-26649 Support meta replica LoadBalance mode for RegionLocator#getAllReg...
Huaxiang Sun [Mon, 31 Jan 2022 17:48:46 +0000 (09:48 -0800)] 
Revert "HBASE-26649 Support meta replica LoadBalance mode for RegionLocator#getAllRegionLocations() (#4044)"

This reverts commit 8c607397c19a828a1be89eb3a1325f774f772c2a.

7 months agoHBASE-26473 Introduce `db.hbase.container_operations` span attribute (#4079)
Nick Dimiduk [Mon, 31 Jan 2022 17:25:18 +0000 (09:25 -0800)] 
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>
8 months agoHBASE-26713 Default to LATEST_TIMESTAMP if no timestamp sent along on Increment/Appen...
Bryan Beaudreault [Fri, 28 Jan 2022 20:55:43 +0000 (15:55 -0500)] 
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>
8 months agoHBASE-26649 Support meta replica LoadBalance mode for RegionLocator#getAllRegionLocat...
huaxiangsun [Fri, 28 Jan 2022 18:18:48 +0000 (10:18 -0800)] 
HBASE-26649 Support meta replica LoadBalance mode for RegionLocator#getAllRegionLocations() (#4044)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoRevert "HBASE-26473 Introduce `db.hbase.container_operations` span attribute"
Duo Zhang [Fri, 28 Jan 2022 13:30:54 +0000 (21:30 +0800)] 
Revert "HBASE-26473 Introduce `db.hbase.container_operations` span attribute"

This reverts commit 7d8dc3524981a04e82ff236bb3dc18d36ebc82b4.

8 months agoHBASE-26587 Introduce a new Admin API to change SFT implementation (#4030)
Duo Zhang [Fri, 28 Jan 2022 13:07:55 +0000 (21:07 +0800)] 
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>
8 months agoHBASE-26679 Wait on the future returned by FanOutOneBlockAsyncDFSOutput.flush would...
chenglei [Fri, 28 Jan 2022 05:36:20 +0000 (13:36 +0800)] 
HBASE-26679 Wait on the future returned by FanOutOneBlockAsyncDFSOutput.flush would stuck (#4039)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26709 Ban the usage of junit 3 TestCase (#4065)
Duo Zhang [Thu, 27 Jan 2022 05:41:48 +0000 (13:41 +0800)] 
HBASE-26709 Ban the usage of junit 3 TestCase (#4065)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
8 months agoHBASE-26690 Modify FSTableDescriptors to not rely on renaming when writing TableDescr...
Duo Zhang [Thu, 27 Jan 2022 05:28:56 +0000 (13:28 +0800)] 
HBASE-26690 Modify FSTableDescriptors to not rely on renaming when writing TableDescriptor (#4054)

Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
8 months agoHBASE-26473 Introduce `db.hbase.container_operations` span attribute
Nick Dimiduk [Thu, 18 Nov 2021 17:24:45 +0000 (09:24 -0800)] 
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>
8 months agoHBASE-26711 Remove 2.3 from Downloads page (#4068)
Peter Somogyi [Wed, 26 Jan 2022 15:36:33 +0000 (16:36 +0100)] 
HBASE-26711 Remove 2.3 from Downloads page (#4068)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoRevert "HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job...
Duo Zhang [Wed, 26 Jan 2022 05:39:20 +0000 (13:39 +0800)] 
Revert "HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down. (#4048)"

This reverts commit d77ede4a29f415d6755d28a76abeaa39e5d34921.

8 months agoHBASE-26577 Update ref guide section for IT and Chaos Monkey to explain the additions...
Wellington Ramos Chevreuil [Tue, 25 Jan 2022 17:25:48 +0000 (17:25 +0000)] 
HBASE-26577 Update ref guide section for IT and Chaos Monkey to explain the additions from HBASE-26556 (#4007)

Signed-off-by: Josh Elser <elserj@apache.org>
8 months agoHBASE-26700 The way we bypass broken track file is not enough in StoreFileListFile...
Duo Zhang [Tue, 25 Jan 2022 06:51:11 +0000 (14:51 +0800)] 
HBASE-26700 The way we bypass broken track file is not enough in StoreFileListFile (#4055)

Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
8 months agoHBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down. ...
Yutong Xiao [Tue, 25 Jan 2022 06:48:56 +0000 (14:48 +0800)] 
HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down. (#4048)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26474 Implement connection-level attributes (addendum)
Nick Dimiduk [Wed, 12 Jan 2022 21:34:51 +0000 (13:34 -0800)] 
HBASE-26474 Implement connection-level attributes (addendum)

Addressing additional comments raised in branch-2 backport PR #4014

8 months agoHBASE-26614 Refactor code related to "dump"ing ZK nodes (#3969)
Nick Dimiduk [Mon, 24 Jan 2022 19:33:18 +0000 (11:33 -0800)] 
HBASE-26614 Refactor code related to "dump"ing ZK nodes (#3969)

The code starting at `ZKUtil.dump(ZKWatcher)` is a small mess – it has cyclic dependencies woven
through itself, `ZKWatcher` and `RecoverableZooKeeper`. It also initializes a static variable in
`ZKUtil` through the factory for `RecoverableZooKeeper` instances. Let's decouple and clean it
up.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
8 months agoHBASE-26675 Data race on Compactor.writer (#4035)
Duo Zhang [Mon, 24 Jan 2022 11:45:50 +0000 (19:45 +0800)] 
HBASE-26675 Data race on Compactor.writer (#4035)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
8 months agoRevert "HBASE-26697 Migrate HBase Nightly HBase-Flaky-Tests and HBase-Find-Flaky...
Duo Zhang [Sat, 22 Jan 2022 11:35:44 +0000 (19:35 +0800)] 
Revert "HBASE-26697 Migrate HBase Nightly HBase-Flaky-Tests and HBase-Find-Flaky-Tests to ci-hbase (#4053)"

This reverts commit a42d6dbbf72fc685536a26a689399bee056487d2.

8 months agoHBASE-26697 Migrate HBase Nightly HBase-Flaky-Tests and HBase-Find-Flaky-Tests to...
Duo Zhang [Sat, 22 Jan 2022 06:16:34 +0000 (14:16 +0800)] 
HBASE-26697 Migrate HBase Nightly HBase-Flaky-Tests and HBase-Find-Flaky-Tests to ci-hbase (#4053)

Signed-off-by: Yulin Niu <niuyulin@apache.org>
8 months agoHBASE-26661 Remove deprecated methods in MasterObserver (#4031)
sunyuting1 [Wed, 19 Jan 2022 11:25:06 +0000 (19:25 +0800)] 
HBASE-26661 Remove deprecated methods in MasterObserver (#4031)

Signrd-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26674 Should modify filesCompacting under storeWriteLock (#4040)
Duo Zhang [Wed, 19 Jan 2022 05:59:35 +0000 (13:59 +0800)] 
HBASE-26674 Should modify filesCompacting under storeWriteLock (#4040)

Signed-off-by: Josh Elser <elserj@apache.org>
8 months agoHBASE-26662 User.createUserForTesting should not reset UserProvider.groups every...
Wellington Ramos Chevreuil [Tue, 18 Jan 2022 12:32:27 +0000 (12:32 +0000)] 
HBASE-26662 User.createUserForTesting should not reset UserProvider.groups every time if hbase.group.service.for.test.only is true (#4029)

Signed-off-by: Josh Elser <elserj@apache.org>
Signrd-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26654 ModifyTableDescriptorProcedure shoud load TableDescriptor while executing...
Duo Zhang [Sun, 16 Jan 2022 08:25:28 +0000 (16:25 +0800)] 
HBASE-26654 ModifyTableDescriptorProcedure shoud load TableDescriptor while executing (#4034)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
8 months agoHBASE-26671 Misspellings of hbck usage (#4033)
xianjingfeng [Sun, 16 Jan 2022 08:23:23 +0000 (16:23 +0800)] 
HBASE-26671 Misspellings of hbck usage (#4033)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26469 correct HBase shell exit behavior to match code passed to exit (#4018)
Sean Busbey [Wed, 29 Sep 2021 04:00:11 +0000 (23:00 -0500)] 
HBASE-26469 correct HBase shell exit behavior to match code passed to exit (#4018)

* refactors how we handle running the passed in initialization script to make use of IRB sessions
  directly instead of reimplementing things ourselves
* simplify how we initialize our IRB config
* insert a shim for capturing exit codes passed via user calls to exit
* make use of user provided exit code unless we're reading stdin in interactive mode

This changes the exit code of the shell
* a 0 return code, or no return code, passed to a call to exit from stdin in non-interactive mode
  will now exit cleanly. in prior versions this would have exitted with an error and non-zero exit
  code.
* for other combinations of passing in an initilization script or reading from stdin with using the
  non-interactive flag, the exit code being 0 or non-0 should now line up with releases prior to
  2.4.z, which is a change in behavior compared to 2.4.z.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
8 months agoHBASE-26551 Add FastPath feature to HBase RWQueueRpcExecutor (#3929)
Yutong Xiao [Thu, 13 Jan 2022 03:11:12 +0000 (11:11 +0800)] 
HBASE-26551 Add FastPath feature to HBase RWQueueRpcExecutor (#3929)

Signed-off-by: Reid Chan <reidchan@apache.org>
8 months agoHBASE-26657 ProfileServlet should move the output location to hbase specific director...
Viraj Jasani [Tue, 11 Jan 2022 10:29:44 +0000 (15:59 +0530)] 
HBASE-26657 ProfileServlet should move the output location to hbase specific directory (#4022)

Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
8 months agoHBASE-26520 Remove use of `db.hbase.namespance` tracing attribute (#4015)
Nick Dimiduk [Tue, 11 Jan 2022 01:02:50 +0000 (17:02 -0800)] 
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>
8 months agoHBASE-26397 Display the excluded datanodes on regionserver UI (#3990)
Xiaolin Ha [Mon, 10 Jan 2022 04:53:05 +0000 (12:53 +0800)] 
HBASE-26397 Display the excluded datanodes on regionserver UI (#3990)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26006 Update ref guide about the 2.4.x release line (#3992)
Duo Zhang [Sat, 8 Jan 2022 16:29:25 +0000 (00:29 +0800)] 
HBASE-26006 Update ref guide about the 2.4.x release line (#3992)

Amending-Author: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Reviewed-by: Nick Dimiduk <ndimiduk@apache.org>
8 months agoHBASE-26543 correct parsing of shell args with GetoptLong (#4000)
Sean Busbey [Wed, 15 Dec 2021 20:35:01 +0000 (14:35 -0600)] 
HBASE-26543 correct parsing of shell args with GetoptLong (#4000)

Signed-off-by: Mike Drob <mdrob@apache.org>
8 months agoHBASE-26643 Addendum align the test code with branch-2
Duo Zhang [Fri, 7 Jan 2022 16:39:06 +0000 (00:39 +0800)] 
HBASE-26643 Addendum align the test code with branch-2

8 months agoHBASE-26643 Addendum align the test code with branch-2
Duo Zhang [Fri, 7 Jan 2022 16:11:28 +0000 (00:11 +0800)] 
HBASE-26643 Addendum align the test code with branch-2

8 months agoHBASE-26643 LoadBalancer should not return empty map (#4005)
Duo Zhang [Fri, 7 Jan 2022 15:50:37 +0000 (23:50 +0800)] 
HBASE-26643 LoadBalancer should not return empty map (#4005)

Signed-off-by: Yulin Niu <niuyulin@apache.org>
8 months agoHBASE-26586 Should not rely on the global config when setting SFT implementation...
Duo Zhang [Fri, 7 Jan 2022 15:39:18 +0000 (23:39 +0800)] 
HBASE-26586 Should not rely on the global config when setting SFT implementation for a table while upgrading (#4006)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
8 months agoHBASE-26639 The implementation of TestMergesSplitsAddToTracker is problematic (#4010)
Duo Zhang [Fri, 7 Jan 2022 15:05:47 +0000 (23:05 +0800)] 
HBASE-26639 The implementation of TestMergesSplitsAddToTracker is problematic (#4010)

Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
8 months agoHBASE-26646 WALPlayer should obtain token from filesystem (#4003)
meiyi [Fri, 7 Jan 2022 09:37:29 +0000 (17:37 +0800)] 
HBASE-26646 WALPlayer should obtain token from filesystem (#4003)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26616 Refactor code related to ZooKeeper authentication (#3973)
Nick Dimiduk [Fri, 7 Jan 2022 01:04:15 +0000 (17:04 -0800)] 
HBASE-26616 Refactor code related to ZooKeeper authentication (#3973)

This refactor reduces the size and scope of the `ZKUtil` class. The core of this refactor is
moving the `login*` methods from `ZKUtil` into their own class, `ZKAuthentication`. The class
`JaasConfiguration` is also moved along with them.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26632 Should use downloads.apache.org for checksum, signature, changes.md and...
fcb-xiaobo [Thu, 6 Jan 2022 12:34:52 +0000 (20:34 +0800)] 
HBASE-26632 Should use downloads.apache.org for checksum, signature, changes.md and releasenote.md (#4002)

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26474 Implement connection-level attributes (#3952)
Nick Dimiduk [Wed, 5 Jan 2022 23:32:12 +0000 (15:32 -0800)] 
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>
8 months agoHBASE-26585 Add SFT configuration to META table descriptor when creating META (#3998)
Wellington Ramos Chevreuil [Wed, 5 Jan 2022 12:20:07 +0000 (12:20 +0000)] 
HBASE-26585 Add SFT configuration to META table descriptor when creating META (#3998)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
8 months agoHBASE-26578 CompactedHFilesDischarger should be shutdown when aborting regionserver...
Xiaolin Ha [Wed, 5 Jan 2022 03:10:16 +0000 (11:10 +0800)] 
HBASE-26578 CompactedHFilesDischarger should be shutdown when aborting regionserver (#3946)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26567 Remove IndexType from ChunkCreator (#3947)
chenglei [Tue, 4 Jan 2022 16:05:54 +0000 (00:05 +0800)] 
HBASE-26567 Remove IndexType from ChunkCreator (#3947)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26631 Upgrade junit to 4.13.2 (#3997)
fcb-xiaobo [Tue, 4 Jan 2022 15:58:06 +0000 (23:58 +0800)] 
HBASE-26631 Upgrade junit to 4.13.2 (#3997)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26634 Upgrade log4j to 2.17.1 (#3996)
xiaozhang0319 [Tue, 4 Jan 2022 15:56:56 +0000 (23:56 +0800)] 
HBASE-26634 Upgrade log4j to 2.17.1 (#3996)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26641 Split TestMasterFailoverWithProcedures (#3994)
Duo Zhang [Sun, 2 Jan 2022 16:35:14 +0000 (00:35 +0800)] 
HBASE-26641 Split TestMasterFailoverWithProcedures (#3994)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
8 months agoHBASE-26629 Add expiration for long time vacant scanners in Thrift2 (#3984)
Yutong Xiao [Sun, 2 Jan 2022 13:19:31 +0000 (21:19 +0800)] 
HBASE-26629 Add expiration for long time vacant scanners in Thrift2 (#3984)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26494 Using RefCnt to fix the flawed MemStoreLABImpl (#3983)
chenglei [Sat, 1 Jan 2022 12:50:52 +0000 (20:50 +0800)] 
HBASE-26494 Using RefCnt to fix the flawed MemStoreLABImpl (#3983)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26635 Optimize decodeNumeric in OrderedBytes (#3986)
Yutong Xiao [Sat, 1 Jan 2022 12:42:57 +0000 (20:42 +0800)] 
HBASE-26635 Optimize decodeNumeric in OrderedBytes (#3986)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26540 Implement a tool to verify the lag of region replication (#3950) 3891/head
Duo Zhang [Fri, 17 Dec 2021 13:24:26 +0000 (21:24 +0800)] 
HBASE-26540 Implement a tool to verify the lag of region replication (#3950)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
8 months agoHBASE-26539 The default rpc timeout 200ms is too small for replicating meta edits...
Duo Zhang [Mon, 6 Dec 2021 15:42:42 +0000 (23:42 +0800)] 
HBASE-26539 The default rpc timeout 200ms is too small for replicating meta edits (#3919)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
8 months agoHBASE-26538 Should find a way to clear the replication queue for a legacy region_repl...
Duo Zhang [Mon, 6 Dec 2021 15:42:25 +0000 (23:42 +0800)] 
HBASE-26538 Should find a way to clear the replication queue for a legacy region_replica_replication peer (#3918)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
8 months agoHBASE-26486 Attach the new region replication framework design doc to git repo (...
Duo Zhang [Sat, 27 Nov 2021 13:29:28 +0000 (21:29 +0800)] 
HBASE-26486 Attach the new region replication framework design doc to git repo (#3884)

Signed-off-by: Yulin Niu <niuyulin@apache.org>
8 months agoHBASE-26478 Update ref guide about the new region replication framework (#3885)
Duo Zhang [Sat, 27 Nov 2021 13:29:02 +0000 (21:29 +0800)] 
HBASE-26478 Update ref guide about the new region replication framework (#3885)

Signed-off-by: Yulin Niu <niuyulin@apache.org>
8 months agoHBASE-26481 Consider rolling upgrading from old region replication framework (#3880)
Duo Zhang [Sat, 27 Nov 2021 04:03:18 +0000 (12:03 +0800)] 
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>
8 months agoHBASE-26417 Remove NoopReplicationQueueStorage (#3882)
林尚泉 [Fri, 26 Nov 2021 15:16:59 +0000 (23:16 +0800)] 
HBASE-26417 Remove NoopReplicationQueueStorage (#3882)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26456 Limit the size for one replicating (#3873)
Duo Zhang [Tue, 23 Nov 2021 10:40:21 +0000 (18:40 +0800)] 
HBASE-26456 Limit the size for one replicating (#3873)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
8 months agoHBASE-26416 Implement a new method for region replication instead of using replay...
Duo Zhang [Mon, 22 Nov 2021 13:50:02 +0000 (21:50 +0800)] 
HBASE-26416 Implement a new method for region replication instead of using replay (#3864)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>