Commit Graph

18688 Commits

Author SHA1 Message Date
Xiaolin Ha 50a6249731 HBASE-27897 ConnectionImplementation#locateRegionInMeta should pause and retry when taking user region lock failed (#5258)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2023-06-07 17:20:50 +08:00
Jack-cc 556e11d9ad HBASE-27899 Beautify the output information of the getStats method in ReplicationSource (#5269)
Signed-off-by: 874645213@qq.com <jiancong123~>
Co-authored-by: 874645213@qq.com <jiancong123~>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 3df01ea9b6)
2023-06-06 22:21:27 +08:00
Andrew Purtell 8b28410fa9 Preparing development version 2.5.6-SNAPSHOT
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2023-06-01 17:40:43 -07:00
Andrew Purtell 7ebd438126 Preparing hbase release 2.5.5RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2023-06-01 17:40:41 -07:00
Andrew Purtell c759f7244c Revert "Preparing development version 2.5.6-SNAPSHOT"
This reverts commit 8fcfe91a24.

Revert "Preparing hbase release 2.5.5RC0; tagging and updates to CHANGES.md and RELEASENOTES.md"

This reverts commit 429b34a969.

Preparing to restage 2.5.5RC0.
2023-06-01 14:48:32 -07:00
Rahul Agarkar aec67c3796 HBASE-27820: HBase is not starting due to Jersey library conflicts wi… (#5210)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Ankit Singhal <ankit@apache.org>

(cherry picked from commit 7cc15fc92b)
2023-05-31 12:46:25 +01:00
Duo Zhang 86faefab45 HBASE-27793 Addendum fix spotless issue
(cherry picked from commit abc517f75a)
2023-05-27 22:02:16 +08:00
Andrew Purtell 8fcfe91a24 Preparing development version 2.5.6-SNAPSHOT
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2023-05-26 17:48:02 -07:00
Andrew Purtell 429b34a969 Preparing hbase release 2.5.5RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2023-05-26 17:48:00 -07:00
Andrew Purtell be0ae6282e HBASE-27872 xerial's snappy-java requires GLIBC >= 2.32 (#5245)
We need to add a native library load check with a helpful error message
if xerial snappy fails to initialize due to a too old glibc or similar
reason, and disable the unit test if the native library fails to load.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2023-05-25 17:06:36 -07:00
Andrew Purtell a4bb461e32 HBASE-27867 Close the L1 victim handler race (#5239)
When we evict a block from L1 and move it to L2 there is a brief window of
time where we have removed the block from the L1 map and yet the victim
handler has not completed execution. Some read-your-write use cases can be
significantly impacted even though the window is small.

Victim handling can be made atomic with respect to the unmapping operation.
The upside is there will be no L1+L2 misses during the transition. The
downside is if the victim handler takes a long time to execute – currently
they are all very fast, so only a theoretical risk – then other removals or
insertions in L1 can block until it completes.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2023-05-25 16:47:06 -07:00
Andrew Purtell e43fdc7501 HBASE-27843 If moveAndClose fails HFileArchiver should delete any incomplete archive side changes (#5240)
When HFiles are placed on a filesystem other than HDFS a rename operation can be
a non-atomic file copy operation. It can take a long time to copy a large hfile
and if interrupted there may be a partially copied file present at the destination.

If we fail to “rename” the files into the archive we will continue to fail
indefinitely. Before larger changes are considered, perhaps to StoreFileTracker, we
should mitigate this problem.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2023-05-25 15:44:06 -07:00
Rajeshbabu Chintaguntla be5b219595 HBASE-27793 Make HBCK be able to report unknown servers (#5229)
Co-authored-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
2023-05-25 10:25:14 +05:30
Shuhei Yamasaki bc64a1bc99 HBASE-27876 Only generate SBOM when releasing (#5251)
Move CycloneDX plugin to profile section

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 256e5e9cd8)
2023-05-24 23:25:17 +08:00
dependabot[bot] ae6cc59faa HBASE-27880 Bump requests from 2.28.1 to 2.31.0 in /dev-support/flaky-tests (#5250)
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 22526a6339)
(cherry picked from commit 6aeaaa1198)
2023-05-23 22:58:34 +08:00
Duo Zhang f5d6fa026f HBASE-27277 TestRaceBetweenSCPAndTRSP fails in pre commit (#5248)
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
(cherry picked from commit dc30ca552b)
2023-05-23 22:50:29 +08:00
Wellington Ramos Chevreuil 1285952c24 HBASE-27874 Problem in flakey generated report causes pre-commit run to fail (#5244)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Reviewew-by: Kota-SH <shanmukhaharipriya@gmail.com>
(cherry picked from commit 0ba562ab4d)
2023-05-22 14:48:57 +08:00
Shuhei Yamasaki cbdf2f2d16 HBASE-27634 Builds emit errors related to SBOM parsing (#5246)
Update CycloneDX version

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 49bdf6140e)
2023-05-21 19:52:47 +08:00
guluo 91dd29e869 HBASE-27848:Should fast-fail if unmatched column family exists when using ImportTsv (#5225)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit ce29f97a80)
2023-05-21 19:48:58 +08:00
Duo Zhang 4f50c30537 HBASE-27870 Eliminate the 'WARNING: package jdk.internal.util.random not in java.base' when running UTs with jdk11 (#5242)
Signed-off-by: Tianhang Tang <tianhang@apache.org>
(cherry picked from commit 71d7996047)
2023-05-18 23:19:41 +08:00
Duo Zhang fbaddab84b HBASE-27864 Reduce the Cardinality for TestFuzzyRowFilterEndToEndLarge (#5237)
From 50^3 to 30^3, 125000 -> 27000

Signed-off-by: Liangjun He <heliangjun@apache.org>
Signed-off-by: Xin Sun <ddupgs@gmail.com>
(cherry picked from commit 8b8c684bcc)
2023-05-15 10:44:28 +08:00
Duo Zhang b2e4d3bb8d HBASE-27865 TestThriftServerCmdLine fails with org.apache.hadoop.hbase.SystemExitRule (#5238)
Signed-off-by: Liangjun He <heliangjun@apache.org>
Signed-off-by: Xin Sun <ddupgs@gmail.com>
(cherry picked from commit fd4f984d87)
2023-05-15 10:44:21 +08:00
Duo Zhang dcb81d0c20 HBASE-27863 Add hadoop 3.3.5 check in our personality script (#5236)
Signed-off-by: Liangjun He <heliangjun@apache.org>
(cherry picked from commit b28feeb989)
2023-05-15 10:44:13 +08:00
Jonathan Albrecht 39ecb3d2f4 HBASE-27858 Update surefire version to 3.1.0 and use SurefireForkNodeFactory (#5234)
Surefire version updated from 3.0.0-M6 -> 3.1.0.

SurefireForkNodeFactory is a new strategy to control how the forked
nodes communicate with the main maven process. It uses a tcp channel
instead of pipes and fixes some corrupted messages seen in the s390x
build.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 67612cc264)
2023-05-13 19:01:33 +08:00
Shuhei Yamasaki f66e141e5e HBASE-27860 Fix build error against Hadoop 3.3.5 (#5233)
Add packages for hadoop-3.3.5

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit bee09bbd61)
2023-05-13 09:08:49 +08:00
Jonathan Albrecht 200e598e1b HBASE-27857 Fix timeout exception handling in HBaseClassTestRule. (#5231)
HBaseClassTestRule applies a timeout and a system exit rule to tests.
The timeout rule throws an exception if it hits the timeout threshold.
Since the timeout rule is applied after the system exit rule, the
system exit rule does not see the exception and does not re-enable
the system exit behavior which can cause maven to hang on some
tests.

This change applies the timeout rule before the system exit rule so
that normal system exit can be restored before the surefire forked
node is shutdown.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 220eacf7c5)
2023-05-13 09:08:20 +08:00
Ruanhui 7140c29166 HBASE-27844 changed type names to avoid conflicts with built-in types (#5223)
Co-authored-by: huiruan <876107431@qq.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit d49df8b7a9)
2023-05-08 23:22:09 +08:00
Jonathan Albrecht cf8e6aa172 HBASE-27838 Update zstd-jni from version 1.5.4-2 -> 1.5.5-2. (#5220)
Note: This version includes a fix that prevented zstd-jni from
running on s390x.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 5d2b6956e5)
2023-05-05 12:03:01 +08:00
Bryan Beaudreault 064595b3c1
HBASE-26646 WALPlayer should obtain token from filesystem (#5221)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Co-authored-by: meiyi <myimeiyi@gmail.com>
2023-05-04 14:43:09 -04:00
Ray Mattingly d5402f54d3 HBASE-27799: RpcThrottlingException wait interval message is misleading between 0-1s (#5192)
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2023-05-04 14:27:43 -04:00
Duo Zhang 760b3fbc3d HBASE-27824 NPE in MetricsMasterWrapperImpl.isRunning (#5218)
Signed-off-by: Liangjun He <heliangjun@apache.org>
(cherry picked from commit 78610decaa)
2023-05-04 23:04:06 +08:00
Duo Zhang 9a609bbc3a HBASE-27823 Addendum fix compile error 2023-05-04 23:04:06 +08:00
Duo Zhang f24eb6dbc7 HBASE-27823 NPE in ClaimReplicationQueuesProcedure when running TestAssignmentManager.testAssignSocketTimeout (#5216)
Also done some cleanup around the MockMasterServices related classes and tests

Signed-off-by: Liangjun He <heliangjun@apache.org>
(cherry picked from commit 89e80da57f)
2023-05-04 22:35:27 +08:00
Duo Zhang 13e51eaa68 HBASE-27822 TestFromClientSide5.testAppendWithoutWAL is flaky (#5211)
Signed-off-by: Liangjun He <heliangjun@apache.org>
(cherry picked from commit b59eb96407)
2023-05-04 22:25:08 +08:00
Duo Zhang 3088b2d86e HBASE-27821 Split TestFuzzyRowFilterEndToEnd (#5209)
Signed-off-by: Liangjun He <heliangjun@apache.org>
(cherry picked from commit 4e69921a00)
2023-05-04 22:06:03 +08:00
Nick Dimiduk e973dee364 HBASE-27762 Include EventType and ProcedureV2 pid in logging via MDC (addendum for branch-2.4,5) 2023-05-01 17:45:38 +02:00
Nick Dimiduk 841f2a7fa6 HBASE-27762 Include EventType and ProcedureV2 pid in logging via MDC (addendum)
Make use of `%notEmpty` pattern with MDC logging. Will function as expected once we upgrade to
Log4J 2.21.0+.
2023-05-01 17:45:38 +02:00
Nick Dimiduk 07bdc09ee5 HBASE-27762 Include EventType and ProcedureV2 pid in logging via MDC (#5145)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2023-05-01 17:45:38 +02:00
Duo Zhang b50022d6cf HBASE-27819 10k RpcServer.MAX_REQUEST_SIZE is not enough in ReplicationDroppedTable related tests (#5208)
Also modified the tests so we will only start the cluster once instead
of start it in setUpBeforeClass and then restart it when running the
actual test method

Signed-off-by: Liangjun He <heliangjun@apache.org>
(cherry picked from commit 21d61cfa1c)
2023-05-01 21:47:41 +08:00
Andor Molnár ea82b9c72f HBASE-27810. Check if the executor has already been shut down before submitting new job (#5207)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit a6e89bf624)
2023-04-28 16:48:36 +02:00
Nihal Jain 4800976ae3 HBASE-27792 Guard Master/RS Dump Servlet behind admin walls (#5176) 2023-04-28 20:01:44 +05:30
Nick Dimiduk 1b603fad1a HBASE-27808 Change flatten mode for oss in our pom file (#5201)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit a2cfa6822a)
2023-04-28 11:40:25 +08:00
Duo Zhang d7c5e47767 HBASE-27818 Split TestReplicationDroppedTables (#5206)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
(cherry picked from commit 1ced254b8d)
2023-04-28 10:00:13 +08:00
Nihal Jain 3267c76a74 HBASE-20804 Document and add tests for HBaseConfTool (#5190)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit e86f930894)
2023-04-23 23:43:46 +08:00
haosen chen 2980ef4b4b HBASE-27807 PressureAwareCompactionThroughputController#tune log the opposite of the actual scenario (#5198)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 95f83cb8e2)
2023-04-23 23:34:19 +08:00
Nihal Jain 4ee389adc4 HBASE-27791 Upgrade vega and its related js libraries (#5173)
Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2023-04-18 12:16:09 +02:00
Andrew Purtell 8516bb5c71 HBASE-27796 Improve MemcachedBlockCache (#5181)
Track and log better stats.
Fix use of memcached API such that we are not accidentally immediately expiring keys.
Use a default retention period of 30 days, the max per memcached spec.
Use set instead of add to store keys.
Gracefully handle failures to cache and read timeouts.
Add unit tests using jmemcached as a test dependency.

Signed-off-by: Viraj Jasani <vjasani@apache.org>
2023-04-17 14:13:19 -07:00
lizhexi0928 690ca8c562
[HBASE-27789] Backport "HBASE-24914 Remove duplicate code appearing continuously in method ReplicationPeerManager.updatePeerConfig" to branch-2 (#5180)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2023-04-14 11:43:31 +01:00
Kota-SH 3dda428417 HBASE-27422: Support replication for hbase:acl (#4827)
Signed-off-by: Ankit Singhal <ankit@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>

(cherry picked from commit 856fa14537)
2023-04-14 10:36:40 +01:00
Bryan Beaudreault 1e97fbfc9f HBASE-27768 Race conditions in BlockingRpcConnection (#5154)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2023-04-10 15:23:34 -04:00