17963 Commits

Author SHA1 Message Date
Xiaolin Ha
45801a7d74 HBASE-25709 Close region may stuck when region is compacting and skipped most cells read (#3117)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-07 11:43:57 +08:00
Rushabh Shah
6bd2cd6d11 HBASE-26792 Implement ScanInfo#toString (#4154)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-05 17:49:34 +08:00
Istvan Toth
622c436e17 HBASE-26777 BufferedDataBlockEncoder$OffheapDecodedExtendedCell.deepC… (#4139)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-04 13:57:33 -08:00
Andrew Purtell
6ec1659152 Amend HBASE-26691 Replacing log4j with reload4j for branch-2.x
- Update reload4j version to 1.2.19
- Update shading and assembly configurations

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-04 12:29:01 -08:00
Duo Zhang
694e9faad5 HBASE-26691 Replacing log4j with reload4j for branch-2.x (#4050)
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	pom.xml
2022-03-04 12:10:43 -08:00
Xiaolin Ha
2af6bb75f5 HBASE-26242 Allow split when store file count larger than the configed blocking file count (#3652)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-04 20:36:11 +08:00
Nick Dimiduk
b4d0205315 HBASE-26788 Disable Checks API callback from test results in PRs
Signed-off-by: Sean Busbey <busbey@apache.org>
2022-03-03 12:02:58 +01:00
Mike Drob
c3ac78691e 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>
2022-03-03 11:52:16 +01:00
Bri Augenreich
067c28e9ae HBASE-26745: Include balancer cost metrics in jmx endpoint (#4140)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-02 17:39:57 -08:00
Nick Dimiduk
36e1a1d260 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>
2022-03-02 15:52:05 +01:00
Andor Molnár
1d0d70e641 HBASE-23303 Add default security headers if SSL is enabled (#4128)
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
2022-03-02 15:47:03 +01:00
Peter Somogyi
25dc0eb44b HBASE-26772 Shell suspended in background (#4137)
Signed-off-by: Sean Busbey <busbey@apache.org>
2022-03-01 13:33:00 +01:00
Andrew Purtell
819afc7a39 Preparing development version 2.4.11-SNAPSHOT
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-02-28 09:53:11 -08:00
Andrew Purtell
3e5359c73d Preparing hbase release 2.4.10RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
Signed-off-by: Andrew Purtell <apurtell@apache.org>
rel/2.4.10 2.4.10RC1
2022-02-28 09:53:07 -08:00
Andrew Purtell
9e8b5a89e5 Revert "Preparing development version 2.4.11-SNAPSHOT"
Revert "Preparing hbase release 2.4.10RC1; tagging and updates to CHANGES.md and RELEASENOTES.md"

This reverts commit 31a9beaf949385d75a23c672572fbb70c937cf97.
This reverts commit 0dc107e15b5684aea64892fa4db460724de2a779.
This reverts commit a86548a25755c574c76ef27c374fe05be295d057.
This reverts commit 27343174e7837f5859b0e7bd8cc23ec0e62a25c1.
2022-02-28 09:17:45 -08:00
Andrew Purtell
31a9beaf94 Preparing development version 2.4.11-SNAPSHOT
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-02-28 08:48:55 -08:00
Andrew Purtell
0dc107e15b Preparing hbase release 2.4.10RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-02-28 08:48:52 -08:00
Andrew Purtell
a86548a257 Preparing development version 2.4.11-SNAPSHOT
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-02-25 18:34:32 -08:00
Andrew Purtell
27343174e7 Preparing hbase release 2.4.10RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2.4.10RC0
2022-02-25 18:34:29 -08:00
Sergey Soldatov
6b10e242c9 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>
2022-02-23 17:34:01 -05:00
Bryan Beaudreault
87e993db26 HBASE-26546 hbase-shaded-client missing required thirdparty classes under hadoop 3.3.1 (#3926)
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit cd45cadbc1a42db359ff4e775cbd4b55cfe28140)
2022-02-22 01:03:18 -06:00
Richard Marscher
f358125fe5 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>
2022-02-18 10:26:38 -08:00
chenglei
9999f875c9
HBASE-26712 Balancer encounters NPE in rare case (#4117) 2022-02-18 10:59:29 +08:00
Xiaolin Ha
0020da472d HBASE-26742 Comparator of NOT_EQUAL NULL is invalid for checkAndMutate (#4105)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-02-16 11:24:49 +08:00
Xiaolin Ha
c8ccbde51a HBASE-26434 Do compact when all L0 files are expired (#3830)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-02-15 22:40:22 +08:00
Yutong Xiao
3f315d7e93 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:36:23 +08:00
Duo Zhang
a69e41d850 HBASE-26749 Migrate HBase main pre commit job to ci-hbase (#4107)
Signed-off-by: Sean Busbey <busbey@apache.org>
2022-02-11 11:44:34 +08:00
Duo Zhang
cfc9dcc932 HBASE-26747 Addendum use python2 directly in Jenkinsfile and Jenkinsfile_Github 2022-02-11 00:21:59 +08:00
Peter Somogyi
3994374bbc 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>
2022-02-10 12:30:27 +01:00
Duo Zhang
d645cc8365 HBASE-26747 Addendum remove python from Jenkinsfile and Jenkinsfile_Github 2022-02-09 21:43:23 +08:00
Duo Zhang
6e11b70dd7 HBASE-26747 Use python2 instead of python in our python scripts (#4102)
Signed-off-by: Xin Sun <ddupgs@gmail.com>
2022-02-09 16:32:06 +08:00
Duo Zhang
92872285de 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>
2022-02-09 16:32:00 +08:00
Rushabh Shah
869243e738 HBASE-26702 Make ageOfLastShip, ageOfLastApplied extend TimeHistogram instead of plain histogram. (#4098)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-02-09 10:24:26 +08:00
Tak Lon (Stephen) Wu
b8db5ac24c HBASE-26729 Backport "HBASE-26714 Introduce path configuration for system coprocessors" to branch-2 (#4093)
- rename from HBaseCommonTestingUtil to HBaseCommonTestingUtility

Signed-off-by: Ankit Singhal <ankit@apache.org>
2022-02-04 06:01:37 -08:00
Bryan Beaudreault
590e38e8e4 HBASE-26713 Default to LATEST_TIMESTAMP if no timestamp sent along on Increment/Append (#4075)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-01-28 12:58:05 -08:00
Pankaj
70018b0918 HBASE-25918 Upgrade hbase-thirdparty dependency to 3.5.1 (#3317)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit be14605898a5c8162d98760479ef01dd76d3d46d)

Reapplied. See HBASE-26717

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-01-28 12:56:44 -08:00
chenglei
21de18e4b3
HBASE-26679 Wait on the future returned by FanOutOneBlockAsyncDFSOutput.flush would stuck (#4077)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-28 20:52:53 +08:00
Andrew Purtell
c6b0ad98f6 Revert "HBASE-25918 Upgrade hbase-thirdparty dependency to 3.5.1 (#3317)"
This reverts commit 246560ea041387551f7121d9ece9fecb66f93628.

See HBASE-26717

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-01-27 17:40:25 -08:00
Duo Zhang
0af543c57c Revert "HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down. (#4048)"
This reverts commit fbd22f06bff8546e6d7a8757b3cf2f8eaed88f6b.
2022-01-26 13:40:47 +08:00
Yutong Xiao
fbd22f06bf 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 15:03:42 +08:00
Peter Somogyi
a02324f202 HBASE-26689 Backport HBASE-24443 Refactor TestCustomSaslAuthenticationProvider (#4049)
Duo Zhang <zhangduo@apache.org>
2022-01-20 15:11:26 +01:00
Wellington Ramos Chevreuil
b38c88b9d6 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>
2022-01-18 13:06:09 +00:00
xianjingfeng
7c032c72cf HBASE-26671 Misspellings of hbck usage (#4033)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-16 16:34:41 +08:00
Sean Busbey
8b370f7f89 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. Note that the below can be summarized as lining up with
behavior from earlier HBase releases. This behavior changes in future 2.5+ releases of HBase and
you should see the jira for more details.
* exit called in an initialization script will result in a non-zero exit code iff a non-zero code
  is passed to the exit call.
* when reading user input from stdin, a call to exit will result in a 0 exit code if the shell
  is interactive, and a non-zero exit code if the shell is non-interactive. any optional code
  passed to the call to exit won't change wether the exit code is zero or non-zero.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
(cherry picked from commit 821e6a36cc88c2348cda6af8d9eb8a526054dffc)
2022-01-15 14:27:31 -06:00
Nick Dimiduk
87e0554cf1 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>
2022-01-11 15:47:20 -08:00
Viraj Jasani
3d7ef2db93
HBASE-26657 ProfileServlet should move the output location to hbase specific directory (#4022)
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2022-01-11 16:03:12 +05:30
Duo Zhang
3f68399fee HBASE-26643 LoadBalancer should not return empty map (#4005)
Signed-off-by: Yulin Niu <niuyulin@apache.org>
2022-01-08 00:40:06 +08:00
meiyi
b68c4aae06 HBASE-26646 WALPlayer should obtain token from filesystem (#4003)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-07 18:00:58 +08:00
huaxiangsun
f3639bc80c
HBASE-26590 Hbase-client Meta lookup performance regression between hbase-1 and hbase-2 (#4008) (#4012)
Change scan caching back to 1 to avoid extra work at Region Server side. For most cases, the extra 4 results
fetched are wasted at the client side.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-06 11:55:51 -08:00
fcb-xiaobo
53f8240b9f HBASE-26631 Upgrade junit to 4.13.2 (#3997)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-05 00:01:25 +08:00