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
8640453d70
HBASE-26870 Log4j2 integration is incorrect in nighly's client integration test ( #4250 )
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2022-03-21 10:02:00 +08:00
Duo Zhang
ba14796289
Revert "HBASE-26813 Remove javax.ws.rs-api dependency ( #4191 )"
...
MiniYARNCluster needs it
This reverts commit abde344767
.
2022-03-19 19:45:29 +08:00
Nick Dimiduk
d09b04df64
HBASE-26855 Delete unnecessary dependency on jaxb-runtime jar ( #4236 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-18 19:13:37 +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
Duo Zhang
b5d5fe8fe5
HBASE-26848 Addendum make tmpdir absolute
...
(cherry picked from commit caea843e94
)
2022-03-17 13:03:20 +08:00
Nick Dimiduk
abde344767
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>
2022-03-16 17:24:20 +01:00
Duo Zhang
26af3b9822
HBASE-26828 Addendum fix syntax error
...
(cherry picked from commit fec5478226
)
2022-03-16 21:52:43 +08:00
xicm
fdc7c49c01
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:29:48 +08:00
xicm
50757ef97d
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:29:37 +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
Duo Zhang
4dff67c2e4
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:44 +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
2a5b3407b1
HBASE-26828 Increase the concurrency when running UTs in pre commit job ( #4213 )
...
Signed-off-by: Yulin Niu <niuyulin@apache.org>
(cherry picked from commit a49d147d49
)
2022-03-14 12:20:58 +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
Nick Dimiduk
51fd863daa
HBASE-26817 Mark RpcExecutor as IA.LimitedPrivate COPROC and PHOENIX
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-11 11:08:14 +01:00
Andrew Purtell
e46fbedf56
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>
2022-03-11 15:12:51 +08:00
Andrew Purtell
0b879f2054
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>
2022-03-11 14:54:49 +08:00
Xiaolin Ha
8c42bca86e
HBASE-26816 Fix CME in ReplicationSourceManager ( #4187 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-11 11:49:29 +08:00
Andrew Purtell
49d3a00652
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>
2022-03-10 11:57:01 -08:00
Bryan Beaudreault
fac011ed87
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>
2022-03-10 10:10:12 -08:00
Tak Lon (Stephen) Wu
3ebb8c1f45
HBASE-26804 Missing opentelemetry agent in hadoop-two-compat.xml ( #4185 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-10 07:52:53 -08:00
xicm
e9065e76e9
HBASE-26815 TestFanOutOneBlockAsyncDFSOutput is flakey ( #4186 )
...
Trigger BlockReports in MiniDFSCluster after restarting datanode
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-10 16:10:07 +08:00
Bryan Beaudreault
8a4317838b
HBASE-26814 Default StoreHotnessProtector to off, with logs to guide when to turn it on ( #4194 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-09 14:44:23 -08:00
Bryan Beaudreault
91cb3028c4
HBASE-26783 ScannerCallable doubly clears meta cache on retries ( #4147 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-09 12:02:51 -08:00
Nick Dimiduk
7e267c6069
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>
2022-03-09 12:44:54 +01:00
Andrew Purtell
300f9b9576
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>
2022-03-08 15:22:00 -08:00
Bryan Beaudreault
98836fb2b4
HBASE-26784 Addendum: Close scanner request should properly inherit original timeout and priority ( #4183 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-08 11:40:39 -08:00
Bryan Beaudreault
5bae04e20c
HBASE-26784 Use HIGH_QOS for ResultScanner.close requests ( #4163 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-03-08 10:50:00 +08:00
Sean Busbey
2e2764fa73
HBASE-26760 LICENSE handling should not allow non-aggregated apache-2.0 ( #4172 )
...
branch-2* already has correct names for Xerial Snappy wrapper and GSON.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit bcd9a9acef
)
2022-03-07 10:47:25 -06:00
Xiaolin Ha
f4c91ee65b
HBASE-26552 Introduce retry to logroller to avoid abort ( #4170 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-07 16:41:49 +08:00
Xiaolin Ha
1aff89e0e4
HBASE-25709 Close region may stuck when region is compacting and skipped most cells read ( #3117 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-07 11:45:40 +08:00
Rushabh Shah
0a7e49ca3b
HBASE-26792 Implement ScanInfo#toString ( #4154 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-05 17:45:45 +08:00
Nick Dimiduk
01acd870b7
HBASE-26759 Fix trace continuity through CallRunner ( #4126 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-03-04 15:26:48 -08:00
Andrew Purtell
961796a59e
[branch-2] Amend HBASE-26731 Add metrics for active and expired scanners
...
Compliation fixes
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-04 14:14:12 -08:00