hbase.git
6 months agoHBASE-26869 RSRpcServices.scan should deep clone cells when RpcCallCo… (#4249)
chenglei [Wed, 23 Mar 2022 09:14:07 +0000 (17:14 +0800)] 
HBASE-26869 RSRpcServices.scan should deep clone cells when RpcCallCo… (#4249)

6 months agoHBASE-26866 Shutdown WAL may abort region server (#4254)
Duo Zhang [Wed, 23 Mar 2022 06:53:58 +0000 (14:53 +0800)] 
HBASE-26866 Shutdown WAL may abort region server (#4254)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26531 Trace coprocessor exec endpoints (addendum)
Nick Dimiduk [Mon, 14 Mar 2022 13:49:18 +0000 (14:49 +0100)] 
HBASE-26531 Trace coprocessor exec endpoints (addendum)

Stuck by this again. branch-2 needs this configuration instance to be initialized as an
HBaseConfiguration.

6 months agoHBASE-26834 Adapt ConnectionRule for both sync and async connections
Nick Dimiduk [Mon, 21 Mar 2022 11:41:22 +0000 (12:41 +0100)] 
HBASE-26834 Adapt ConnectionRule for both sync and async connections

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26791 Memstore flush fencing issue for SFT (#4202)
Duo Zhang [Mon, 21 Mar 2022 11:33:07 +0000 (19:33 +0800)] 
HBASE-26791 Memstore flush fencing issue for SFT (#4202)

Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
6 months agoHBASE-26870 Log4j2 integration is incorrect in nighly's client integration test ...
Duo Zhang [Mon, 21 Mar 2022 02:01:51 +0000 (10:01 +0800)] 
HBASE-26870 Log4j2 integration is incorrect in nighly's client integration test (#4251)

Signed-off-by: Sean Busbey <busbey@apache.org>
6 months agoRevert "HBASE-26813 Remove javax.ws.rs-api dependency (#4191)"
Duo Zhang [Sat, 19 Mar 2022 11:44:25 +0000 (19:44 +0800)] 
Revert "HBASE-26813 Remove javax.ws.rs-api dependency (#4191)"

MiniYARNCluster needs it

This reverts commit b1c161ea8ed0ef8712aa9f967f28cf3ee5967d01.

6 months agoHBASE-26865 Update downloads.xml for 2.4.11
Andrew Purtell [Sat, 19 Mar 2022 01:57:13 +0000 (18:57 -0700)] 
HBASE-26865 Update downloads.xml for 2.4.11

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26861 Fix flaky TestSnapshotFromMaster.testSnapshotHFileArchiving (#4242)
Duo Zhang [Fri, 18 Mar 2022 15:28:30 +0000 (23:28 +0800)] 
HBASE-26861 Fix flaky TestSnapshotFromMaster.testSnapshotHFileArchiving (#4242)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26855 Delete unnecessary dependency on jaxb-runtime jar (#4236)
Nick Dimiduk [Fri, 18 Mar 2022 15:26:30 +0000 (16:26 +0100)] 
HBASE-26855 Delete unnecessary dependency on jaxb-runtime jar (#4236)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26858 Refactor TestMasterRegionOnTwoFileSystems to avoid dead loop (#4238)
Duo Zhang [Fri, 18 Mar 2022 15:09:09 +0000 (23:09 +0800)] 
HBASE-26858 Refactor TestMasterRegionOnTwoFileSystems to avoid dead loop (#4238)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26859 Split TestSnapshotProcedure to several smaller tests (#4239)
huiruan [Fri, 18 Mar 2022 09:51:59 +0000 (17:51 +0800)] 
HBASE-26859 Split TestSnapshotProcedure to several smaller tests (#4239)

Closes #4239

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26851 [Documentation] Point out compatibility issues with WAL Compression and...
tianhang [Fri, 18 Mar 2022 07:27:57 +0000 (15:27 +0800)] 
HBASE-26851 [Documentation] Point out compatibility issues with WAL Compression and Replication in doc (#4237)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26833 Addendum fix NPE in TestReplicationSource.testTerminateClearsBuffer
Duo Zhang [Thu, 17 Mar 2022 15:13:41 +0000 (23:13 +0800)] 
HBASE-26833 Addendum fix NPE in TestReplicationSource.testTerminateClearsBuffer

6 months agoHBASE-26848 Addendum make tmpdir absolute
Duo Zhang [Thu, 17 Mar 2022 00:35:57 +0000 (08:35 +0800)] 
HBASE-26848 Addendum make tmpdir absolute

6 months agoHBASE-26813 Remove javax.ws.rs-api dependency (#4191)
Nick Dimiduk [Wed, 16 Mar 2022 15:46:15 +0000 (16:46 +0100)] 
HBASE-26813 Remove javax.ws.rs-api dependency (#4191)

This is no longer needed since we've transitioned to the shaded Jersey shipped in
hbase-thirdparty. Also drop supplemental models entry.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26828 Addendum fix syntax error
Duo Zhang [Wed, 16 Mar 2022 13:48:58 +0000 (21:48 +0800)] 
HBASE-26828 Addendum fix syntax error

6 months agoHBASE-26720 ExportSnapshot should validate the source snapshot before copying files...
xicm [Wed, 16 Mar 2022 12:03:28 +0000 (20:03 +0800)] 
HBASE-26720 ExportSnapshot should validate the source snapshot before copying files (#4216)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHbase 26275 update error message when executing deleteall with ROWPREFIXFILTER in...
xicm [Wed, 16 Mar 2022 12:02:38 +0000 (20:02 +0800)] 
Hbase 26275 update error message when executing deleteall with ROWPREFIXFILTER in meta table (#4205)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26680 Close and do not write trailer for the broken WAL writer (#4174)
Xiaolin Ha [Wed, 16 Mar 2022 11:58:45 +0000 (19:58 +0800)] 
HBASE-26680 Close and do not write trailer for the broken WAL writer (#4174)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26837 Set SFT config when creating TableDescriptor in TestCloneSnapshotProcedur...
Duo Zhang [Wed, 16 Mar 2022 11:34:30 +0000 (19:34 +0800)] 
HBASE-26837 Set SFT config when creating TableDescriptor in TestCloneSnapshotProcedure (#4226)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26848 Set java.io.tmpdir on mvn command when running jenkins job (#4231)
Duo Zhang [Wed, 16 Mar 2022 09:52:36 +0000 (17:52 +0800)] 
HBASE-26848 Set java.io.tmpdir on mvn command when running jenkins job (#4231)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
6 months agoHBASE-25896 Implement a Region Visualization on Master WebUI (#4228)
Nick Dimiduk [Tue, 15 Mar 2022 20:01:57 +0000 (21:01 +0100)] 
HBASE-25896 Implement a Region Visualization on Master WebUI (#4228)

This is a demonstration of visualization of regions on the cluster. The visualization is a stacked
bar chart showing total storefile size per table per region server, with the x-axis being server
names, the y-axis being storfile size, and the bars stacked per table. The visualization is
generated entirely on the fly from within the browser, implemented using Vega Lite. So far, Vega
appears to handle rendering this visualization for a cluster of over 700 region servers with
approximately 300,000 regions.

Per [0], include an update to the top-level LICENSE.txt. Also update LICENSE files in all binary
distributions (i.e., jars), by way of LICENSE.vm. Vega uses a BSD 3-clause variant without
advertising clause, and as such is a "Category A" license, per [1].

No changes are made to the NOTICE files, as per the existing example of bundling the minified
JQuery, which is also a Category A license.

[0]: https://infra.apache.org/licensing-howto.html
[1]: https://www.apache.org/legal/resolved.html#category-a

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoRevert "HBASE-25896 Implement a Region Visualization on Master WebUI"
Nick Dimiduk [Tue, 15 Mar 2022 19:43:18 +0000 (20:43 +0100)] 
Revert "HBASE-25896 Implement a Region Visualization on Master WebUI"

This reverts commit d76e636da04b54781b53aea6dc9564559fae25ba.

6 months agoHBASE-25896 Implement a Region Visualization on Master WebUI
Nick Dimiduk [Mon, 17 May 2021 17:57:51 +0000 (10:57 -0700)] 
HBASE-25896 Implement a Region Visualization on Master WebUI

This is a demonstration of visualization of regions on the cluster. The visualization is a stacked
bar chart showing total storefile size per table per region server, with the x-axis being server
names, the y-axis being storfile size, and the bars stacked per table. The visualization is
generated entirely on the fly from within the browser, implemented using Vega Lite. So far, Vega
appears to handle rendering this visualization for a cluster of over 700 region servers with
approximately 300,000 regions.

Per [0], include an update to the top-level LICENSE.txt. Also update LICENSE files in all binary
distributions (i.e., jars), by way of LICENSE.vm. Vega uses a BSD 3-clause variant without
advertising clause, and as such is a "Category A" license, per [1].

No changes are made to the NOTICE files, as per the existing example of bundling the minified
JQuery, which is also a Category A license.

[0]: https://infra.apache.org/licensing-howto.html
[1]: https://www.apache.org/legal/resolved.html#category-a

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26833 Avoid waiting to clear buffer usage of ReplicationSourceShipper when...
Xiaolin Ha [Tue, 15 Mar 2022 14:04:40 +0000 (22:04 +0800)] 
HBASE-26833 Avoid waiting to clear buffer usage of ReplicationSourceShipper when aborting the RS (#4218)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26840 Fix NPE in the retry of logroller (#4224)
Xiaolin Ha [Tue, 15 Mar 2022 13:59:09 +0000 (21:59 +0800)] 
HBASE-26840 Fix NPE in the retry of logroller (#4224)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26611 Changing SFT implementation on disabled table is dangerous (#4082)
Duo Zhang [Tue, 15 Mar 2022 12:13:46 +0000 (20:13 +0800)] 
HBASE-26611 Changing SFT implementation on disabled table is dangerous (#4082)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26835 Rewrite TestLruAdaptiveBlockCache to make it more stable (#4219)
Duo Zhang [Tue, 15 Mar 2022 12:06:05 +0000 (20:06 +0800)] 
HBASE-26835 Rewrite TestLruAdaptiveBlockCache to make it more stable (#4219)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26831 TestAdminShell2 is failing because of we referenced a deleted method...
Duo Zhang [Tue, 15 Mar 2022 06:26:07 +0000 (14:26 +0800)] 
HBASE-26831 TestAdminShell2 is failing because of we referenced a deleted method (#4217)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-25895 Implement a Cluster Metrics JSON endpoint (addendum)
Nick Dimiduk [Fri, 11 Mar 2022 14:28:37 +0000 (15:28 +0100)] 
HBASE-25895 Implement a Cluster Metrics JSON endpoint (addendum)

6 months agoHBASE-26531 Trace coprocessor exec endpoints
Nick Dimiduk [Wed, 16 Feb 2022 13:03:55 +0000 (14:03 +0100)] 
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>
6 months agoHBASE-26828 Increase the concurrency when running UTs in pre commit job (#4213)
Duo Zhang [Mon, 14 Mar 2022 04:01:51 +0000 (12:01 +0800)] 
HBASE-26828 Increase the concurrency when running UTs in pre commit job (#4213)

Signed-off-by: Yulin Niu <niuyulin@apache.org>
6 months agoHBASE-26670 HFileLinkCleaner should be added even if snapshot is disabled (#4032)
meiyi [Mon, 14 Mar 2022 03:47:23 +0000 (11:47 +0800)] 
HBASE-26670 HFileLinkCleaner should be added even if snapshot is disabled (#4032)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26830 Rewrite TestLruBlockCache to make it more stable (#4212)
Duo Zhang [Mon, 14 Mar 2022 03:04:15 +0000 (11:04 +0800)] 
HBASE-26830 Rewrite TestLruBlockCache to make it more stable (#4212)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26323 Introduce a Snapshot Procedure (#4115)
Ruanhui [Sat, 12 Mar 2022 15:21:22 +0000 (23:21 +0800)] 
HBASE-26323 Introduce a Snapshot Procedure (#4115)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-25465 Use javac --release option for supporting cross version compilation ...
Duo Zhang [Sat, 12 Mar 2022 08:51:49 +0000 (16:51 +0800)] 
HBASE-25465 Use javac --release option for supporting cross version compilation (#4164)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26822 Revert the changes on hbase-daemon.sh after switching to log4j2 propertie...
Duo Zhang [Sat, 12 Mar 2022 08:48:06 +0000 (16:48 +0800)] 
HBASE-26822 Revert the changes on hbase-daemon.sh after switching to log4j2 properties file (#4209)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26761 TestMobStoreScanner (testGetMassive) can OOME (#4204)
Andrew Purtell [Fri, 11 Mar 2022 06:44:42 +0000 (22:44 -0800)] 
HBASE-26761 TestMobStoreScanner (testGetMassive) can OOME (#4204)

Change the timing of the test but not the objective by storing three large
MOB values into the row with three separate puts, each randomizing the
data. Increases running time of the testGetMassive case 2x but avoids OOME
in the test environment where the OOME was consistently reproductable.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
6 months agoHBASE-26824 TestHBaseTestingUtil.testResolvePortConflict failing after HBASE-26582...
Andrew Purtell [Fri, 11 Mar 2022 06:43:00 +0000 (22:43 -0800)] 
HBASE-26824 TestHBaseTestingUtil.testResolvePortConflict failing after HBASE-26582 (#4203)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26816 Fix CME in ReplicationSourceManager (#4187)
Xiaolin Ha [Fri, 11 Mar 2022 03:06:14 +0000 (11:06 +0800)] 
HBASE-26816 Fix CME in ReplicationSourceManager (#4187)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26821 Bump dependencies in /dev-support/git-jira-release-audit (#4193)
Andrew Purtell [Thu, 10 Mar 2022 20:25:33 +0000 (12:25 -0800)] 
HBASE-26821 Bump dependencies in /dev-support/git-jira-release-audit (#4193)

Bumps urllib3 from 1.25.8 to 1.26.5 to resolve two dependabot warnings

  CRLF injection (Moderate)
  urllib3 (pip) · dev-support/git-jira-release-audit/requirements.txt

  Catastrophic backtracking in URL authority parser when passed URL containing many @ characters (High)
  urllib3 (pip) · dev-support/git-jira-release-audit/requirements.txt

Bumps cryptography from 2.8 to 3.3.2 to resolve one dependabot warning

  RSA decryption vulnerable to Bleichenbacher timing vulnerability (Moderate)
  cryptography (pip) · dev-support/git-jira-release-audit/requirements.txt

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
6 months agoHBASE-26715 Blocked on SyncFuture in AsyncProtobufLogWriter#write (#4184)
Andrew Purtell [Thu, 10 Mar 2022 19:55:38 +0000 (11:55 -0800)] 
HBASE-26715 Blocked on SyncFuture in AsyncProtobufLogWriter#write (#4184)

Co-authored-by: Bryan Beaudreault <bbeaudreault@gmail.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani<virajjasani@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
6 months agoHBASE-26814 Addendum: Fix spotbugs warning and clarify intent (#4201)
Bryan Beaudreault [Thu, 10 Mar 2022 18:09:51 +0000 (13:09 -0500)] 
HBASE-26814 Addendum: Fix spotbugs warning and clarify intent (#4201)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-25895 Implement a Cluster Metrics JSON endpoint
Nick Dimiduk [Sat, 15 May 2021 01:07:03 +0000 (18:07 -0700)] 
HBASE-25895 Implement a Cluster Metrics JSON endpoint

Publishes a set of JSON endpoints following a RESTful structure, which expose a subset of the
`o.a.h.h.ClusterMetrics` object tree. The URI structure is as follows

    /api/v1/admin/cluster_metrics
    /api/v1/admin/cluster_metrics/live_servers
    /api/v1/admin/cluster_metrics/dead_servers

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26819 Minor code cleanup in and around RpcScheduler
Nick Dimiduk [Wed, 9 Mar 2022 16:49:17 +0000 (17:49 +0100)] 
HBASE-26819 Minor code cleanup in and around RpcScheduler

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26817 Mark RpcExecutor as IA.LimitedPrivate COPROC and PHOENIX
Nick Dimiduk [Wed, 9 Mar 2022 12:07:47 +0000 (13:07 +0100)] 
HBASE-26817 Mark RpcExecutor as IA.LimitedPrivate COPROC and PHOENIX

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26815 TestFanOutOneBlockAsyncDFSOutput is flakey (#4186)
xicm [Thu, 10 Mar 2022 08:06:12 +0000 (16:06 +0800)] 
HBASE-26815 TestFanOutOneBlockAsyncDFSOutput is flakey (#4186)

Trigger BlockReports in MiniDFSCluster after restarting datanode

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26768 Avoid unnecessary replication suspending in RegionReplica… (#4127)
chenglei [Thu, 10 Mar 2022 02:58:47 +0000 (10:58 +0800)] 
HBASE-26768 Avoid unnecessary replication suspending in RegionReplica… (#4127)

6 months agoHBASE-26814 Default StoreHotnessProtector to off, with logs to guide when to turn...
Bryan Beaudreault [Wed, 9 Mar 2022 22:43:58 +0000 (17:43 -0500)] 
HBASE-26814 Default StoreHotnessProtector to off, with logs to guide when to turn it on (#4194)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26582 Prune use of Random and SecureRandom objects (#4118)
Andrew Purtell [Tue, 8 Mar 2022 21:49:02 +0000 (13:49 -0800)] 
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>
6 months agoHBASE-26784 Use HIGH_QOS for ResultScanner.close requests (#4146)
Bryan Beaudreault [Tue, 8 Mar 2022 02:48:57 +0000 (21:48 -0500)] 
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>
6 months agoHBASE-26760 LICENSE handling should not allow non-aggregated apache-2.0 (#4172)
Sean Busbey [Mon, 7 Mar 2022 16:31:02 +0000 (10:31 -0600)] 
HBASE-26760 LICENSE handling should not allow non-aggregated apache-2.0 (#4172)

- correct the license name for the Xerial Snappy wrapper.
- correct the license name for the version of GSON brought in with Hadoop 3.3.2+

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
6 months agoHBASE-26782 Minor code cleanup in and around RpcExecutor
Nick Dimiduk [Tue, 1 Mar 2022 17:08:37 +0000 (18:08 +0100)] 
HBASE-26782 Minor code cleanup in and around RpcExecutor

Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26552 Introduce retry to logroller to avoid abort (#4038)
Xiaolin Ha [Mon, 7 Mar 2022 04:20:01 +0000 (12:20 +0800)] 
HBASE-26552 Introduce retry to logroller to avoid abort (#4038)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-25709 Close region may stuck when region is compacting and skipped most cells...
Xiaolin Ha [Mon, 7 Mar 2022 03:21:39 +0000 (11:21 +0800)] 
HBASE-25709 Close region may stuck when region is compacting and skipped most cells read (#3117)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26803 Ban reload4j and logback dependencies (#4167)
Duo Zhang [Mon, 7 Mar 2022 01:54:20 +0000 (09:54 +0800)] 
HBASE-26803 Ban reload4j and logback dependencies (#4167)

Signed-off-by: Sean Busbey <busbey@apache.org>
6 months agoHBASE-26805 Addendum forward port the test improvements in HBASE-26304 for branch-2
Duo Zhang [Mon, 7 Mar 2022 00:16:21 +0000 (08:16 +0800)] 
HBASE-26805 Addendum forward port the test improvements in HBASE-26304 for branch-2

6 months agoHBASE-26805 TestRegionHDFSBlockLocationFinder is flaky (#4169)
Duo Zhang [Mon, 7 Mar 2022 00:08:04 +0000 (08:08 +0800)] 
HBASE-26805 TestRegionHDFSBlockLocationFinder is flaky (#4169)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
6 months agoHBASE-26792 Implement ScanInfo#toString (#4153)
Rushabh Shah [Sat, 5 Mar 2022 09:45:37 +0000 (04:45 -0500)] 
HBASE-26792 Implement ScanInfo#toString (#4153)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26799 TestCanaryTool.testWriteTableTimeout is flaky (#4165)
Duo Zhang [Sat, 5 Mar 2022 04:05:38 +0000 (12:05 +0800)] 
HBASE-26799 TestCanaryTool.testWriteTableTimeout is flaky (#4165)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
6 months agoHBASE-26800 Update downloads.xml for 2.4.10
Andrew Purtell [Sat, 5 Mar 2022 00:40:00 +0000 (16:40 -0800)] 
HBASE-26800 Update downloads.xml for 2.4.10

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26759 Fix trace continuity through CallRunner (#4126)
Nick Dimiduk [Fri, 4 Mar 2022 23:23:25 +0000 (00:23 +0100)] 
HBASE-26759 Fix trace continuity through CallRunner (#4126)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26731 Add metrics for active and expired scanners (#4145)
Bryan Beaudreault [Fri, 4 Mar 2022 22:03:32 +0000 (17:03 -0500)] 
HBASE-26731 Add metrics for active and expired scanners (#4145)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26777 BufferedDataBlockEncoder$OffheapDecodedExtendedCell.deepC… (#4139)
Istvan Toth [Fri, 4 Mar 2022 21:49:19 +0000 (22:49 +0100)] 
HBASE-26777 BufferedDataBlockEncoder$OffheapDecodedExtendedCell.deepC… (#4139)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26242 Allow split when store file count larger than the configed blocking file...
Xiaolin Ha [Fri, 4 Mar 2022 12:18:38 +0000 (20:18 +0800)] 
HBASE-26242 Allow split when store file count larger than the configed blocking file count (#3652)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
6 months agoHBASE-26764 Implement generic exception support for TraceUtil methods over Callables...
Nick Dimiduk [Fri, 18 Feb 2022 15:04:51 +0000 (16:04 +0100)] 
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>
6 months agoHBASE-26788 Disable Checks API callback from test results in PRs
Nick Dimiduk [Wed, 2 Mar 2022 14:22:06 +0000 (15:22 +0100)] 
HBASE-26788 Disable Checks API callback from test results in PRs

Signed-off-by: Sean Busbey <busbey@apache.org>
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>
6 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