Duo Zhang
778ae2d655
HBASE-26933 Remove all ref guide stuff on branch other than master ( #4426 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-05-22 15:12:52 +08:00
Junegunn Choi
d8d1089649
HBASE-27030 Fix undefined local variable error in draining_servers.rb ( #4427 )
...
HBASE-21812 replaced a for-loop with an each block.
Each block introduces a new scope, so a local variable defined inside it
cannot be accessed afterwards.
NameError: undefined local variable or method `admin' for main:Object
getServerNames at /opt/khp/hbase/bin/draining_servers.rb:81
addServers at /opt/khp/hbase/bin/draining_servers.rb:88
<main> at /opt/khp/hbase/bin/draining_servers.rb:146
This commit defines the admin local variable in the current scope beforehand,
so that we can still access it after the block.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 2b573ae377
)
2022-05-22 15:07:15 +08:00
litao
bc40edecfc
HBASE-27047 Fix typo for metric drainingRegionServers ( #4441 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 63fe279b45
)
2022-05-22 15:02:34 +08:00
bitterfox
a6b1c7e234
HBASE-27027 Use jetty SslContextFactory.Server instead of deprecated SslContextFactory ( #4425 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 1be2c83b3d
)
2022-05-22 11:35:45 +08:00
d-c-manning
b00e3032a6
HBASE-27054 TestStochasticLoadBalancerRegionReplicaLargeCluster.testRegionReplicasOnLargeCluster is flaky ( #4454 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Conflicts:
hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaLargeCluster.java
2022-05-21 09:23:05 -07:00
Xiaolin Ha
8bc55f8308
HBASE-27043 Let lock wait timeout to improve performance of SnapshotHFileCleaner ( #4437 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-05-20 15:34:17 -07:00
Nick Dimiduk
2cae259f36
HBASE-27052 TestAsyncTableScanner.testScanWrongColumnFamily is flaky ( #4455 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-05-20 15:13:57 -07:00
Andrew Purtell
7af82cf164
HBASE-27051 TestReplicationSource.testReplicationSourceInitializingMetric is flaky ( #4448 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-05-20 15:11:19 -07:00
Andrew Purtell
a836fc86e8
HBASE-27050 Support unit test pattern matching again ( #4447 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-05-20 15:09:01 -07:00
litao
8a3a94205b
HBASE-27018 Add a tool command list_liveservers ( #4416 )
...
Signed-off-by: Pankaj <pankajkumar@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-05-19 15:49:00 -07:00
Sean Busbey
f20f77120b
HBASE-27006 Move nightly integration testing to new larger test node class. ( #4438 )
...
(cherry picked from commit 76d20fc48a
)
2022-05-19 11:48:40 -05:00
Duo Zhang
f8e742d495
HBASE-27024 The User API and Developer API links are broken on hbase.apache.org ( #4424 )
...
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit ba7ef0216a
)
2022-05-18 21:07:03 +08:00
Duo Zhang
b9b5302929
HBASE-27045 Disable TestClusterScopeQuotaThrottle ( #4440 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit 487cf301a4
)
2022-05-18 20:47:20 +08:00
Nick Dimiduk
1e6d93a789
HBASE-26986 Trace a one-shot execution of a Master procedure
...
This one adds a tracing context to the Master's ProcedureV2 execution. This ties all the spans
that result from a procedure execution back to a procedure by name. Maybe in a follow-on issue, we
can serialize span context along with procedures and display procedure start/stop/retry events and
parent-child hierarchy in tracing visualization.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-05-18 13:08:27 +02:00
Nick Dimiduk
71bd62da41
Revert "HBASE-26856:BufferedDataBlockEncoder.OnheapDecodedCell value can get corrupted ( #4394 )"
...
This reverts commit de9a17e75c
.
2022-05-18 13:03:16 +02:00
Mohammad Arshad
de9a17e75c
HBASE-26856:BufferedDataBlockEncoder.OnheapDecodedCell value can get corrupted ( #4394 )
...
Created OnheapDecodedCell and OffheapDecodedExtendedCell objects with duplicate copy of ByteBuffer's underlying array instead of original ByteBuffer
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit c198f23e5e
)
2022-05-17 10:58:06 +05:30
litao
31f4b422ab
HBASE-27032 The draining region servers metric description is incorrect ( #4428 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit ed1665355a
)
2022-05-17 10:38:15 +05:30
Andrew Purtell
2efaa7d221
HBASE-27019 Minor compression performance improvements ( #4420 )
...
TRACE level logging is expensive enough to warrant removal. They were
useful during development but are now just overhead.
Also we unnecessarily create new compressor and decompressor instances
in the reset() methods for the Aircompressor and Lz4 codecs. Remove.
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-05-13 18:30:54 -07:00
Rushabh Shah
7bc7eb5f48
HBASE-26905 ReplicationPeerManager#checkPeerExists should throw ReplicationPeerNotFoundException if peer doesn't exists ( #4422 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-05-13 18:25:19 -07:00
Tak Lon (Stephen) Wu
43e8c11989
HBASE-27013 Introduce read all bytes when using pread for prefetch ( #4414 )
...
- introduce optional flag `hfile.pread.all.bytes.enabled` for pread that must read full bytes with the next block header
Signed-off-by: Josh Elser <elserj@apache.org>
2022-05-13 13:14:17 -07:00
Duo Zhang
62dbae2914
HBASE-26999 Addendum fix spotless errors
2022-05-13 09:57:26 +08:00
Wellington Chevreuil
930bc5368c
HBASE-27021 StoreFileInfo should set its initialPath in a consistent way
...
(Amending spotless errors after revert by Duo)
2022-05-12 10:53:19 +01:00
Duo Zhang
e3359efe7a
Revert "HBASE-27021 StoreFileInfo should set its initialPath in a consistent way ( #4419 )"
...
Revert due to failure spotless:check
This reverts commit aa31b0f695
.
2022-05-12 10:53:10 +01:00
Wellington Ramos Chevreuil
b7647d8d5f
HBASE-27021 StoreFileInfo should set its initialPath in a consistent way ( #4419 )
...
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-05-12 10:52:47 +01:00
litao
5cfce692a5
HBASE-27003 Optimize log format for PerformanceEvaluation ( #4411 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-05-10 22:32:36 -07:00
Wellington Ramos Chevreuil
7b7f57619b
HBASE-26999 HStore should try write WAL compaction marker before repl… ( #4407 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-05-09 11:00:26 +01:00
skysiders
ad2180b75d
HBASE-26994 MasterFileSystem create directory without permission check ( #4391 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-05-08 13:28:40 -07:00
Andrew Purtell
6cd31edf5c
HBASE-26330 Document new provided compression codecs ( #4396 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
Signed-off-by: Viraj Jasani<virajjasani@apache.org
2022-05-07 11:26:14 -07:00
Rushabh Shah
f5a08063b6
HBASE-26963 ReplicationSource#removePeer hangs if we try to remove bad peer. ( #4413 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-05-07 10:38:17 -07:00
litao
91eab0b657
HBASE-27000 Block cache stats (Misses Caching) display error in RS web UI ( #4406 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-05-05 23:35:09 -07:00
huaxiangsun
8703cacba5
HBASE-26984 Chaos Monkey thread dies in ITBLL Chaos GracefulRollingRestartRsAction ( #4383 ) ( #4408 )
...
There are two cases here:
1. Chaos Monkey thread died and there is no chaos after that.
2. Sometimes, regions are being moved back too quick that region server has not finished its initliazation yet.
wait sometime to make sure that region server finishes its initialization.
Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
2022-05-05 13:43:15 -05:00
LiangJun He
cb61d6a4bd
HBASE-26977 HMaster's ShutdownHook does not take effect, if tablesOnMaster is false ( #4397 )
...
Signed-off-by: Yu Li <liyu@apache.org>
2022-05-05 21:55:50 +08:00
Duo Zhang
9a41117ca5
HBASE-26995 Remove ref guide check in pre commit and nightly for branches other than master ( #4399 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2022-05-05 18:25:22 +08:00
Bryan Beaudreault
a0258441ab
HBASE-26990 Add default implementation for BufferedMutator interface setters ( #4387 )
...
Signed-off-by: Josh Elser <elserj@apache.org>
2022-05-03 14:59:54 -04:00
Duo Zhang
3bafbf1cd2
HBASE-26892 Add spotless:check in our pre commit general check ( #4393 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit 386869a428
)
2022-05-03 21:19:26 +08:00
Nick Dimiduk
1b5c881ffb
HBASE-26648 Improve fidelity of RegionLocator spans (addendum)
...
Addendum extends the test case to cover both `RpcConnectionRegistry` and `ZKConnectionRegistry`.
2022-05-03 13:40:42 +02:00
Nick Dimiduk
a38716ca2a
HBASE-26648 Improve fidelity of RegionLocator spans
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-05-03 13:40:42 +02:00
d-c-manning
be8a9a5920
HBASE-26989 TestStochasticLoadBalancer fixes for performance and consistency ( #4385 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Reviewed by: Rushabh Shah <shahrs87@gmail.com>
Conflicts:
hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java
2022-05-02 10:51:37 -07:00
Duo Zhang
1a5b1b266c
HBASE-26899 Run spotless:apply
2022-05-01 22:41:49 +08:00
Duo Zhang
731da45b91
HBASE-26899 tweak pom and formatter
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit 0edecbf9e0
)
2022-05-01 22:20:12 +08:00
Andrew Purtell
191e932944
HBASE-26992 Brotli compressor has unexpected behavior during reinitialization ( #4389 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-04-30 09:12:35 -07:00
d-c-manning
afb8afd26c
HBASE-26988 dynamic configuration of loadbalance.bytable ( #4384 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Conflicts:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java
2022-04-29 15:55:16 -07:00
Duo Zhang
0a0bea64f7
HBASE-26917 Do not add --threads when running 'mvn site' ( #4354 )
...
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
(cherry picked from commit f4eb9071fd
)
2022-04-29 17:49:26 +08:00
LiangJun He
e9c9418d1d
HBASE-26943 HMaster page style display confusion ( #4369 )
...
Signed-off-by: Yu Li <liyu@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2022-04-29 15:59:53 +08:00
Duo Zhang
30908482c5
HBASE-26932 Skip generating ref guide when running 'mvn site' on branch other than master ( #4360 )
...
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
2022-04-29 08:05:24 +08:00
d-c-manning
fd2e7205ac
HBASE-22349 slop in StochasticLoadBalancer ( #4371 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Conflicts:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/BalancerTestBase.java
2022-04-28 12:38:50 -07:00
liangxs
895e0f474a
HBASE-26975 Add on heap and off heap memstore info in rs web UI ( #4368 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit cdf81ea5cc
)
2022-04-28 23:15:10 +08:00
liangxs
ea5c5da1b3
HBASE-26980 Update javadoc of BucketCache.java ( #4374 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit c02e7553d4
)
2022-04-28 23:11:51 +08:00
Andrew Purtell
6813a5c502
HBASE-26979 StoreFileListFile logs frequent stacktraces at INFO level ( #4373 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-04-27 18:02:18 -07:00
Bri Augenreich
c2baa1fb7b
HBASE-26581 Add metrics for failed replication edits ( #4347 )
...
Co-authored-by: Briana Augenreich <baugenreich@hubspot.com>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2022-04-26 17:44:01 -04:00