eomiks
52ca440ad6
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:31:48 +08:00
huaxiangsun
f9abe3d8f1
HBASE-26618 Involving primary meta region in meta scan with CatalogRe… ( #4321 ) ( #4326 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2022-04-11 10:27:15 -07:00
Duo Zhang
e7eb628025
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:13:49 +08:00
Duo Zhang
197b8d48ec
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:03 +08:00
Tak Lon (Stephen) Wu
87555093cf
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 10:06:13 -07:00
Wellington Ramos Chevreuil
1c14046ee0
HBASE-26927 Add snapshot scanner UT with SFT and some cleanups to Tes… ( #4322 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
(cherry picked from commit ae3718be0f
)
2022-04-05 17:52:30 +01:00
bsglz
8ef1ae32e6
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:26:48 +08:00
weimingdiit
3b383806be
HBASE-26924 Fix log parameter error and spelling error ( #4318 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
(cherry picked from commit 003c572246
)
2022-04-04 20:26:41 +08:00
Duo Zhang
ab9ccabe8f
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:04:51 +08:00
Duo Zhang
1560b4149c
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:04:43 +08:00
Duo Zhang
0b87621a38
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:04:36 +08:00
chenglei
4311974758
HBASE-26811 Secondary replica may be disabled for read incorrectly forever ( #4308 )
2022-04-01 11:20:48 +08:00
Nick Dimiduk
489af42792
HBASE-26545 Implement tracing of scan
...
* on `AsyncTable`, both `scan` and `scanAll` methods should result in `SCAN` table operations.
* the span of the `SCAN` table operation should have children representing all the RPC calls
involved in servicing the scan.
* when a user provides custom implementation of `AdvancedScanResultConsumer`, any spans emitted
from the callback methods should also be tied to the span that represents the `SCAN` table
operation. This is easily done because these callbacks are executed on the RPC thread.
* when a user provides a custom implementation of `ScanResultConsumer`, any spans emitted from the
callback methods should be also be tied to the span that represents the `SCAN` table
operation. This accomplished by carefully passing the span instance around after it is created.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-31 17:29:51 +02:00
Duo Zhang
98db15acd2
HBASE-26245 Store region server list in master local region ( #4136 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
(cherry picked from commit bb1bbddf74
)
(cherry picked from commit 27111421d9
)
2022-03-31 22:26:40 +08:00
chenglei
1a85588265
HBASE-26812 ShortCircuitingClusterConnection fails to close RegionSca… ( #4243 )
2022-03-31 20:04:01 +08:00
bsglz
af5624bb8e
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:18:15 +08:00
d-c-manning
0dbcf8f263
HBASE-26718 HFileArchiver can remove referenced StoreFiles from the archive ( #4274 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-28 11:47:11 -07:00
Xiaolin Ha
170570b799
HBASE-26872 Load rate calculator for cost functions should be more precise ( #4253 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@hubspot.com>
Signed-off-by: Viraj Jasani<virajjasani@apache.org>
2022-03-28 23:38:30 +08:00
haxiaolin
762390045b
Revert "HBASE-26872 Load rate calculator for cost functions should be more precise ( #4253 )"
...
This reverts commit 7ae6be7c25
.
2022-03-28 18:16:38 +08:00
Duo Zhang
fd621a7c1b
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 07:59:58 +08:00
Xiaolin Ha
7ae6be7c25
HBASE-26872 Load rate calculator for cost functions should be more precise ( #4253 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@hubspot.com>
Signed-off-by: Viraj Jasani<virajjasani@apache.org>
2022-03-27 11:13:55 +08:00
huaxiangsun
9ecd4e7c56
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:04:44 -07:00
Wellington Ramos Chevreuil
66508074cc
HBASE-26881 Backport HBASE-25368 to branch-2 ( #4267 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-25 10:04:13 +00:00
Xiaolin Ha
b7cfc1d0bd
HBASE-26175 MetricsHBaseServer should record all kinds of Exceptions ( #4248 )
...
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
2022-03-24 19:04:59 +08:00
Bryan Beaudreault
1caa28869b
HBASE-21065 Try ROW_INDEX_V1 encoding on meta table ( #4268 )
...
Set encoding and blooms on meta as default. Also shutdown access to the
initial meta schema creating method; get from TableDescriptors if you
need access to schema or edit it as you would any other table if you
want to edit it.
Co-authored-by: Michael Stack <stack@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-23 16:30:08 -07:00
chenglei
5affa20359
HBASE-26869 RSRpcServices.scan should deep clone cells when RpcCallContext is null ( #4264 )
2022-03-23 18:31:47 +08:00
chenglei
c55c289e99
Revert "HBASE-26869 RSRpcServices.scan should deep clone cells when RpcCallContext is null ( #4262 )" ( #4263 )
...
This reverts commit d889746bc6
.
2022-03-23 17:52:11 +08:00
chenglei
d889746bc6
HBASE-26869 RSRpcServices.scan should deep clone cells when RpcCallContext is null ( #4262 )
2022-03-23 17:48:20 +08:00
Duo Zhang
68f3fbe035
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>
(cherry picked from commit e56ed404cb
)
2022-03-22 12:35:09 +08:00
Nick Dimiduk
0d968af513
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>
2022-03-21 19:29:37 +01:00
Nick Dimiduk
321c35a6ef
HBASE-26834 Adapt ConnectionRule for both sync and async connections
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-21 12:42:18 +01:00
Duo Zhang
7af08ce614
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:31 +08:00
Duo Zhang
ac5651c1b2
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:03 +08:00
huiruan
4a6ba116bf
HBASE-26842 TestSnapshotProcedure fails in branch-2 ( #4225 )
...
Closes #4225
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-18 16:21:29 +08:00
Duo Zhang
81398f9064
HBASE-26833 Addendum fix NPE in TestReplicationSource.testTerminateClearsBuffer
...
(cherry picked from commit bd65ad42a2
)
2022-03-17 23:23:10 +08:00
Xiaolin Ha
db5e954068
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:29:27 +08:00
Duo Zhang
d3629bbf16
HBASE-26837 Set SFT config when creating TableDescriptor in TestCloneSnapshotProcedure ( #4226 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit 5b28d76652
)
2022-03-16 20:16:26 +08:00
Nick Dimiduk
3c968a1bb8
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>
2022-03-15 21:10:23 +01:00
Xiaolin Ha
c1bf2ffcd9
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:12:02 +08:00
Xiaolin Ha
46af73b5c0
HBASE-26840 Fix NPE in the retry of logroller ( #4224 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-15 22:08:41 +08:00
Duo Zhang
a4b192e33d
HBASE-26611 Changing SFT implementation on disabled table is dangerous ( #4082 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-03-15 20:26:24 +08:00
Duo Zhang
350db514c7
HBASE-26835 Rewrite TestLruAdaptiveBlockCache to make it more stable ( #4219 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit 5ad51e8b2b
)
2022-03-15 20:19:32 +08:00
Nick Dimiduk
e6879b8fd7
HBASE-25895 Implement a Cluster Metrics JSON endpoint (addendum)
2022-03-14 17:26:20 +01:00
Nick Dimiduk
cdabd6a1ad
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>
2022-03-14 17:26:20 +01:00
meiyi
50e12309ea
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>
2022-03-14 12:25:03 +08:00
Duo Zhang
05627b78ec
HBASE-26830 Rewrite TestLruBlockCache to make it more stable ( #4212 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
(cherry picked from commit c3d0cc7040
)
2022-03-14 11:24:31 +08:00
Ruanhui
0f93663db5
HBASE-26323 Introduce a Snapshot Procedure ( #4115 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-12 23:58:56 +08:00
Duo Zhang
9e1de13d03
HBASE-25465 Use javac --release option for supporting cross version compilation ( #4164 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-12 18:30:29 +08:00
Duo Zhang
340cc6c6f1
HBASE-26802 Backport the log4j2 changes to branch-2 ( #4166 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-11 11:17:43 -08:00
Nick Dimiduk
a227d76009
HBASE-26819 Minor code cleanup in and around RpcScheduler
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-11 11:15:59 +01:00