Commit Graph

18032 Commits

Author SHA1 Message Date
Ruanhui 7715e37d37
HBASE-26942 cache region locations when getAllRegionLocations (#4357)
Co-authored-by: huiruan <huiruan@tencent.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2022-04-22 07:53:01 -04:00
Duo Zhang d9f4c519ca HBASE-26941 LocalHBaseCluster.waitOnRegionServer should not call join while interrupted (#4352)
Signed-off-by: Xin Sun <ddupgs@gmail.com>
(cherry picked from commit 35aa57e445)
2022-04-17 23:27:19 +08:00
Pankaj eea9e78d17 HBASE-26944 Possible resource leak while creating new region scanner (#4339)
* HBASE-26944 Possible resource leak while creating new region scanner

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 62e3efccef)
2022-04-15 11:42:34 +05:30
Duo Zhang 1fc186643f Revert "HBASE-26941 LocalHBaseCluster.waitOnRegionServer should quit while thread is interrupted (#4333)"
This reverts commit c10e4bd330.
2022-04-13 11:48:23 +08:00
Duo Zhang c10e4bd330 HBASE-26941 LocalHBaseCluster.waitOnRegionServer should quit while thread is interrupted (#4333)
Signed-off-by: Xin Sun <ddupgs@gmail.com>
(cherry picked from commit 8247b7c722)
2022-04-13 11:10:45 +08:00
eomiks 02d51b0618 HBASE-26895 on hbase shell, 'delete/deleteall' for a columnfamily is not working (#4283)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit ea9bc92ce2)
2022-04-12 20:47:47 +08:00
eomiks df01fd4c25 HBASE-26901 delete with null columnQualifier occurs NullPointerException when NewVersionBehavior is on (#4295)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 7ac9e0be27)
2022-04-12 20:32:50 +08:00
huaxiangsun 7ac7954372
HBASE-26618 Involving primary meta region in meta scan with CatalogRe… (#4321) (#4328)
Signed-off-by: Michael Stack <stack@apache.org>
2022-04-11 10:26:42 -07:00
Peter Somogyi b63225d17e HBASE-26880 Misspelling commands in hbase shell will crash the shell (#4325)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-04-11 10:47:19 +02:00
Duo Zhang 3d9892cf6a HBASE-26922 Fix LineLength warnings as much as possible if it can not be fixed by spotless (#4324)
Signed-off-by: Yulin Niu <niuyulin@apache.org
(cherry picked from commit 3ae0d9012c)
2022-04-09 23:54:32 +08:00
Duo Zhang d2c3563117 HBASE-26929 Upgrade surefire plugin to 3.0.0-M6 (#4319)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit c791c8181a)
2022-04-07 11:34:49 +08:00
Duo Zhang 789c37e6ce HBASE-26928 Fix several indentation problems (#4323)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit e68c61dd54)
2022-04-06 15:14:46 +08:00
Tak Lon (Stephen) Wu d98483018b HBASE-26882 Backport "HBASE-26810 Add dynamic configuration support f… (#4278)
- Include HBASE-25288 that has the configuration manager registration in HMaster

Signed-off-by: Ankit Singhal <ankit@apache.org>
2022-04-05 11:57:07 -07:00
bsglz 46e8533fe7 HBASE-26885 Addendum throw exception instead of return in TRSP to let the procedure retry (#4299)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 7f9d1f2259)
2022-04-04 20:27:59 +08:00
Duo Zhang 18c55d20d9 HBASE-26921 Rewrite the counting cells part in TestMultiVersions (#4316)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit 3e09e87fad)
2022-04-03 23:09:40 +08:00
Duo Zhang 1b768cd48d HBASE-26920 Fix missing braces warnings in TestProcedureMember (#4315)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit 78676bb85e)
2022-04-03 23:09:39 +08:00
Duo Zhang a7f8e2a5b1 HBASE-26919 Rewrite the counting rows part in TestFromClientSide4 (#4314)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit 4e12eee531)
2022-04-03 23:09:39 +08:00
Duo Zhang 92734749dd HBASE-26916 Fix missing braces warnings in DefaultVisibilityExpressionResolver (#4313)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit c4ff355915)
2022-04-03 23:09:39 +08:00
chenglei d9a32f9405
HBASE-26811 Secondary replica may be disabled for read incorrectly forever (#4310) 2022-04-01 11:53:33 +08:00
Wellington Ramos Chevreuil 064338e585 HBASE-26838 Junit jar is not included in the hbase tar ball, causing … (#4223)
Signed-off-by: Josh Elser <elserj@apache.org>
Singed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Reviewed-by: Sean Busbey <busbey@apache.org>

(cherry-picked from commit 35868abe8f)
2022-03-31 23:06:35 +01:00
Andrew Purtell 5b1e7492a4 HBASE-26912 Bump checkstyle from 8.28 to 8.29 (#4293)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.28 to 8.29.

updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-31 14:25:49 -07:00
chenglei d8a5bb827b
HBASE-26812 ShortCircuitingClusterConnection fails to close RegionScanners when making short-circuited calls (#4302) 2022-03-31 20:56:41 +08:00
Sean Busbey 780cea5c02 HBASE-26871 addendum. use the jar command from JAVA_HOME (#4297) 2022-03-30 15:03:55 -07:00
Sean Busbey 2af359caf0 HBASE-26871 shaded mapreduce and shaded byo-hadoop client artifacts contain no classes (#4279)
- add a test to the shaded artifact validation that checks for java classes

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-30 15:03:34 -07:00
Andrew Purtell 55bc977279 HBASE-26903 Bump httpclient from 4.5.3 to 4.5.13 (#4296)
Bump httpclient from 4.5.3 to 4.5.13 to avoid a CVE of medium severity in this
dependency.

Newer httpclient versions enable a URI normalization algorithm by default that
rewrites URIs in a way that breaks some forms of valid REST gateway interactions,
so disable it when building the httpclient instance in Client.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>

Conflicts:
	pom.xml
2022-03-30 14:32:15 -07:00
dependabot[bot] 602c7f682b HBASE-26902 Bump bcprov-jdk15on from 1.60 to 1.67 (#4292)
Bumps [bcprov-jdk15on](https://github.com/bcgit/bc-java) from 1.60 to 1.67.

updated-dependencies:
- dependency-name: org.bouncycastle:bcprov-jdk15on

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	pom.xml
2022-03-29 09:04:26 -07:00
bsglz a25e779f26 HBASE-26885 The TRSP should not go on when it get a bogus server name… (#4276)
* HBASE-26885 The TRSP should not go on when it get a bogus server name from AM

(cherry picked from commit 1efd8fe53c)
2022-03-29 10:13:11 +08:00
Istvan Toth 543128db4a HBASE-26896 list_quota_snapshots fails with ‘ERROR NameError: uninitialized constant Shell::Commands::ListQuotaSnapshots::TABLE’ (#4284)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
2022-03-28 21:17:14 +02:00
d-c-manning da2c32c36d HBASE-26718 HFileArchiver can remove referenced StoreFiles from the archive (#4274)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-28 11:52:53 -07:00
Duo Zhang 9355506c30 HBASE-26832 Avoid repeated releasing of flushed wal entries in AsyncFSWAL#syncCompleted (#4281)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit 4f491fd5e4)
2022-03-28 08:00:16 +08:00
Xiaolin Ha 9a7ee77bd4
HBASE-26872 Load rate calculator for cost functions should be more precise (#4280)
Signed-off-by: Bryan Beaudreault <bbeaudreault@hubspot.com>
Signed-off-by: Viraj Jasani<virajjasani@apache.org>
2022-03-27 15:20:51 +08:00
huaxiangsun 34cb2ee967 HBASE-26864 SplitTableRegionProcedure calls openParentRegions() at a … (#4261)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-03-26 12:19:02 -07:00
Bryan Beaudreault 42ad0a24cb HBASE-26876 Use toStringBinary for rowkey in RegionServerCallable error string (#4269)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-03-26 06:48:20 +08:00
Bryan Beaudreault 3a90de63a2 HBASE-26875 RpcRetryingCallerImpl translateException ignores return value of recursive call (#4270)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-25 09:01:32 -07:00
Bryan Beaudreault 83d5a9ea27 HBASE-26878 TableInputFormatBase should cache RegionSizeCalculator (#4271)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-24 16:25:10 -07:00
Xiaolin Ha ce5c7a4327 HBASE-26175 MetricsHBaseServer should record all kinds of Exceptions (#4248)
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
2022-03-24 19:50:02 +08:00
chenglei 4bb1d75f67
HBASE-26869 RSRpcServices.scan should deep clone cells when RpcCallContext is null (#4265) 2022-03-23 19:13:46 +08:00
Nick Dimiduk 18d53339a8 HBASE-26834 Adapt ConnectionRule for both sync and async connections
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-21 18:27:33 +01:00
Duo Zhang 7acfbc0bea HBASE-26861 Fix flaky TestSnapshotFromMaster.testSnapshotHFileArchiving (#4242)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit 520ad638d9)
2022-03-19 00:46:42 +08:00
Duo Zhang 2b2308afc7 HBASE-26858 Refactor TestMasterRegionOnTwoFileSystems to avoid dead loop (#4238)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit 31db8e3b3b)
2022-03-19 00:46:13 +08:00
Duo Zhang c4f546041e HBASE-26833 Addendum fix NPE in TestReplicationSource.testTerminateClearsBuffer
(cherry picked from commit bd65ad42a2)
2022-03-17 23:23:25 +08:00
Duo Zhang 362e08ea69 HBASE-26848 Addendum make tmpdir absolute
(cherry picked from commit caea843e94)
2022-03-17 13:04:16 +08:00
Duo Zhang b7fb4a278a HBASE-26828 Addendum fix syntax error
(cherry picked from commit fec5478226)
2022-03-16 21:54:34 +08:00
xicm 9043cb90d0 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>
2022-03-16 20:16:36 +08:00
xicm 8d161e4352 Hbase 26275 update error message when executing deleteall with ROWPREFIXFILTER in meta table (#4205)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-03-16 20:16:24 +08:00
Xiaolin Ha 8cce0d3302 HBASE-26680 Close and do not write trailer for the broken WAL writer (#4174)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-16 20:15:59 +08:00
Duo Zhang 2edb9fdf4d HBASE-26848 Set java.io.tmpdir on mvn command when running jenkins job (#4231)
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
(cherry picked from commit cc13624232)
2022-03-16 18:47:55 +08:00
Andrew Purtell ec40003898 Preparing development version 2.4.12-SNAPSHOT
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-15 10:17:31 -07:00
Andrew Purtell 7e672a0da0 Preparing hbase release 2.4.11RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-15 10:17:28 -07:00
Xiaolin Ha 89754dd314 HBASE-26833 Avoid waiting to clear buffer usage of ReplicationSourceShipper when aborting the RS (#4218)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-15 22:17:18 +08:00