hbase.git
3 hours agoHBASE-27403 Remove 'Remove unhelpful javadoc stubs' spotless rule for now (#4809) master
Duo Zhang [Mon, 3 Oct 2022 15:15:50 +0000 (23:15 +0800)] 
HBASE-27403 Remove 'Remove unhelpful javadoc stubs' spotless rule for now (#4809)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
13 hours agoHBASE-27365 Minimise block addition failures due to no space in bucket cache writers...
Rajeshbabu Chintaguntla [Mon, 3 Oct 2022 05:46:22 +0000 (11:16 +0530)] 
HBASE-27365 Minimise block addition failures due to no space in bucket cache writers queue by introducing wait time (#4805)

Co-authored-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
5 days agoHBASE-27391 Downgrade ERROR log to DEBUG in ConnectionUtils.updateStats (#4804)
Bryan Beaudreault [Wed, 28 Sep 2022 15:31:39 +0000 (11:31 -0400)] 
HBASE-27391 Downgrade ERROR log to DEBUG in ConnectionUtils.updateStats (#4804)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
10 days agoHBASE-27289 Remove 1.7.x from our download page (#4797)
Duo Zhang [Fri, 23 Sep 2022 15:11:07 +0000 (23:11 +0800)] 
HBASE-27289 Remove 1.7.x from our download page (#4797)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
10 days agoHBASE-27280 Add mutual authentication support to TLS (#4796)
Bryan Beaudreault [Fri, 23 Sep 2022 12:36:20 +0000 (08:36 -0400)] 
HBASE-27280 Add mutual authentication support to TLS (#4796)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Reviewed-by: Andor Molnár <andor@cloudera.com>
10 days agoHBASE-27386 Use encoded size for calculating compression ratio in block size predicat...
Wellington Ramos Chevreuil [Fri, 23 Sep 2022 09:33:27 +0000 (10:33 +0100)] 
HBASE-27386 Use encoded size for calculating compression ratio in block size predicator (#4795)

Signed-off-by: Ankit Singhal <ankit@apache.org>
11 days agoHBASE-27304 Support using IP to expose master/rs servers for some special scenarios...
LiangJun He [Thu, 22 Sep 2022 02:17:08 +0000 (10:17 +0800)] 
HBASE-27304 Support using IP to expose master/rs servers for some special scenarios (#4713)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
12 days agoHBASE-27303 (addendum)Unnecessary replication to secondary region replicas should...
chenglei [Wed, 21 Sep 2022 03:29:10 +0000 (11:29 +0800)] 
HBASE-27303 (addendum)Unnecessary replication to secondary region replicas should avoid when WAL.sync throws Exception (#4792)

13 days agoHBASE-27310 Add disabled table is displayed red on master web tables list (#4755)
SiCheng-Zheng [Tue, 20 Sep 2022 09:10:06 +0000 (17:10 +0800)] 
HBASE-27310 Add disabled table is displayed red on master web tables list (#4755)

Co-authored-by: zhengsicheng <zhengsicheng@jd.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
13 days agoHBASE-27370 Avoid decompressing blocks when reading from bucket cache… (#4781)
Wellington Ramos Chevreuil [Tue, 20 Sep 2022 08:15:17 +0000 (09:15 +0100)] 
HBASE-27370 Avoid decompressing blocks when reading from bucket cache… (#4781)

Co-authored-by: Josh Elser <elserj@apache.com>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
2 weeks agoHBASE-27372 Update java versions in our Dockerfiles (#4784)
Duo Zhang [Mon, 19 Sep 2022 07:43:35 +0000 (15:43 +0800)] 
HBASE-27372 Update java versions in our Dockerfiles (#4784)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
Reviewed-by: SiCheng-Zheng <643463623@qq.com>
2 weeks agoHBASE-27373 Fix new spotbugs warnings after upgrading spotbugs to 4.7.2 (#4787)
Duo Zhang [Fri, 16 Sep 2022 14:57:54 +0000 (22:57 +0800)] 
HBASE-27373 Fix new spotbugs warnings after upgrading spotbugs to 4.7.2 (#4787)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 weeks agoHBASE-27368 Do not need to throw IllegalStateException when peer is not active in...
Duo Zhang [Thu, 15 Sep 2022 07:27:06 +0000 (15:27 +0800)] 
HBASE-27368 Do not need to throw IllegalStateException when peer is not active in ReplicationSource.initialize (#4779)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
2 weeks agoHBASE-27371 Bump spotbugs version (#4783)
Duo Zhang [Wed, 14 Sep 2022 15:27:51 +0000 (23:27 +0800)] 
HBASE-27371 Bump spotbugs version (#4783)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 weeks agoHBASE-27317 Rectifying the option for columnfamily as mandatory (#4773)
Abhradeep Kundu [Wed, 14 Sep 2022 11:41:02 +0000 (17:11 +0530)] 
HBASE-27317 Rectifying the option for columnfamily as mandatory (#4773)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 weeks agoHBASE-27352 - Quoted string argument with spaces passed from command line are propaga...
Ujjawal [Tue, 13 Sep 2022 12:32:55 +0000 (18:02 +0530)] 
HBASE-27352 - Quoted string argument with spaces passed from command line are propagated wrongly to the underlying java class (#4754)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
3 weeks agoHBASE-27360 The trace related assertions are flaky for async client tests (#4767)
Duo Zhang [Fri, 9 Sep 2022 14:41:55 +0000 (22:41 +0800)] 
HBASE-27360 The trace related assertions are flaky for async client tests (#4767)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
3 weeks agoHBASE-27226 Document native TLS support in Netty RPC (#4717)
Andor Molnár [Thu, 8 Sep 2022 17:12:45 +0000 (19:12 +0200)] 
HBASE-27226 Document native TLS support in Netty RPC (#4717)

Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
3 weeks agoHBASE-27313: Persist list of Hfiles names for which prefetch is done (#4726)
Kota-SH [Thu, 8 Sep 2022 10:36:39 +0000 (05:36 -0500)] 
HBASE-27313: Persist list of Hfiles names for which prefetch is done (#4726)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
3 weeks agoHBASE-27361 Add .flattened-pom.xml to .gitignore (#4769)
Michael Stack [Thu, 8 Sep 2022 08:58:11 +0000 (01:58 -0700)] 
HBASE-27361 Add .flattened-pom.xml to .gitignore (#4769)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
3 weeks agoHBASE-27362 CompactSplit.requestCompactionInternal may bypass compactionsEnabled...
chenglei [Thu, 8 Sep 2022 08:39:12 +0000 (16:39 +0800)] 
HBASE-27362 CompactSplit.requestCompactionInternal may bypass compactionsEnabled check (#4768)

Co-authored-by: comnetwork <comnetwork@163.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
3 weeks agoHBASE-27353 - opentelemetry-context jar missing at runtime causes MR jobs to fail...
Ujjawal [Wed, 7 Sep 2022 17:49:53 +0000 (23:19 +0530)] 
HBASE-27353 - opentelemetry-context jar missing at runtime causes MR jobs to fail (#4759)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
3 weeks agoHBASE-27346 Autodetect key/truststore file type from file extension (#4757)
Andor Molnár [Tue, 6 Sep 2022 19:43:41 +0000 (21:43 +0200)] 
HBASE-27346 Autodetect key/truststore file type from file extension (#4757)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
3 weeks agoHBASE-27224 HFile tool statistic sampling produces misleading results (#4638)
Bryan Beaudreault [Tue, 6 Sep 2022 19:04:32 +0000 (15:04 -0400)] 
HBASE-27224 HFile tool statistic sampling produces misleading results (#4638)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Reviewed-by: Clay Baenziger <cwb@clayb.net>
3 weeks agoHBASE-27340 Artifacts with resolved profiles (#4740) (#4761)
Michael Stack [Tue, 6 Sep 2022 15:06:13 +0000 (08:06 -0700)] 
HBASE-27340 Artifacts with resolved profiles (#4740) (#4761)

(Forward port from branch-2; simplified by the fact that there
is no hadoop-2.0 profile on master branch)

    Make it so our published poms carry the minimum needed to run
    an hbase; the published pom has no profiles -- the profiles
    specified at build time are resolved, their dependencies inlined,
    and then they are stripped -- and no build-time, or plugins
    dependencies or properties, etc. Resultant poms have explicit
    hadoop lib versions baked in -- no more being able to choose
    hbase with hadoop2 or haddop3 at downstream build time by setting
    a '-Dhadoop.profile=X.0'.

    Pattern is to add profiles when none in sub-modules when
    the flatten plugin complains it can't resolve an hadoop
    dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
    Adding the profile in the sub-module make it so the flatten
    plugin can figure 'hadoop.version' definitively.
    (In master there is only the hadoop-3.0 profile).

    Another spin on the above happens when profiles already exist
    in submodule but the flatten plugin is complaining it can't
    figure figure version on an hadoop dependency NOT under
    profiles. Below, we move the delinquent hadoop dependency under
    existing profiles (minikdc was the usual dependency outside
    profiles in sub-modules that flatten complained about).

    Sometimes, moving an hadoop dependency under a profile, there
    would be excludes on the local dependency. If the parent pom
    excludes section was missing the local excludes, we added them
    up to the parent module so all excluding is done up there in
    the parent profile dependencyManagement section.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
4 weeks agoHBASE-27332 Remove RejectedExecutionHandler for long/short compaction thread pools...
Xiaolin Ha [Mon, 5 Sep 2022 13:13:34 +0000 (21:13 +0800)] 
HBASE-27332 Remove RejectedExecutionHandler for long/short compaction thread pools (#4731)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
4 weeks agoHBASE-27314 Addendum fix spotless errors
Duo Zhang [Sun, 4 Sep 2022 10:07:14 +0000 (18:07 +0800)] 
HBASE-27314 Addendum fix spotless errors

4 weeks agoHBASE-27314 Make index block be customized and configured (#4718)
binlijin [Sat, 3 Sep 2022 07:52:43 +0000 (15:52 +0800)] 
HBASE-27314 Make index block be customized and configured (#4718)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
4 weeks agoHBASE-25563 Add "2.4 Documentation" to the website (#4758)
Nick Dimiduk [Fri, 2 Sep 2022 10:02:55 +0000 (12:02 +0200)] 
HBASE-25563 Add "2.4 Documentation" to the website (#4758)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Reviewed-by: zhengsicheng <zhengsicheng@jd.com>
4 weeks agoHBASE-27351 Add 2.5 Documentation to the website
Nick Dimiduk [Thu, 1 Sep 2022 13:09:15 +0000 (15:09 +0200)] 
HBASE-27351 Add 2.5 Documentation to the website

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: huaxiangsun <huaxiangsun@apache.org>
4 weeks agoHBASE-26809: Report client backoff time for server overloaded (#4729)
Bri Augenreich [Thu, 1 Sep 2022 01:23:40 +0000 (21:23 -0400)] 
HBASE-26809: Report client backoff time for server overloaded (#4729)

Co-authored-by: Briana Augenreich <baugenreich@hubspot.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
4 weeks agoHBASE-27350 Add 2.5.0 to the downloads page
Nick Dimiduk [Wed, 31 Aug 2022 14:38:36 +0000 (16:38 +0200)] 
HBASE-27350 Add 2.5.0 to the downloads page

Signed-off-by: Duo Zhang <zhangduo@apache.org>
4 weeks agoHBASE-27342 Use Hadoop Credentials API to retrieve passwords of TLS key/trust stores...
Andor Molnár [Wed, 31 Aug 2022 10:53:18 +0000 (12:53 +0200)] 
HBASE-27342 Use Hadoop Credentials API to retrieve passwords of TLS key/trust stores (#4747)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
4 weeks agoHBASE-27345 Add 2.4.14 to the downloads page (#4746)
huaxiangsun [Mon, 29 Aug 2022 22:16:16 +0000 (15:16 -0700)] 
HBASE-27345 Add 2.4.14 to the downloads page (#4746)

Signed-off-by: stack <stack@apache.org>
5 weeks agoHBASE-27338 brotli compression lib tests fail on arm64 (#4735)
Michael Stack [Mon, 29 Aug 2022 16:11:52 +0000 (09:11 -0700)] 
HBASE-27338 brotli compression lib tests fail on arm64 (#4735)

Up the brotli lib from 1.7.1 to 1.8.0

Signed-off-by: Bryan Beaudreault <bbeaudreault>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
5 weeks agoHBASE-27152 Under compaction mark may leak (#4725)
Xiaolin Ha [Mon, 29 Aug 2022 03:49:02 +0000 (11:49 +0800)] 
HBASE-27152 Under compaction mark may leak (#4725)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
5 weeks agoHBASE-27336 The region visualizer shows 'undefined' region server (#4736)
LiangJun He [Sun, 28 Aug 2022 14:34:33 +0000 (22:34 +0800)] 
HBASE-27336 The region visualizer shows 'undefined' region server (#4736)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
5 weeks agoHBASE-27321 The ReplicationLogCleaner is not thread safe but can be called from diffe...
Duo Zhang [Sat, 27 Aug 2022 15:41:28 +0000 (23:41 +0800)] 
HBASE-27321 The ReplicationLogCleaner is not thread safe but can be called from different threads at the same time (#4730)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
5 weeks agoHBASE-25922 - Disabled sanity checks ignored on snapshot restore (#4533)
Ujjawal [Fri, 26 Aug 2022 12:25:59 +0000 (17:55 +0530)] 
HBASE-25922 - Disabled sanity checks ignored on snapshot restore (#4533)

Co-authored-by: Ujjawal Kumar <u.kumar@ukumar-ltmit1s.internal.salesforce.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
5 weeks agoHBASE-27325 the bulkload max call queue size can be update to a wrong value (#4728)
Ruanhui [Thu, 25 Aug 2022 02:59:52 +0000 (10:59 +0800)] 
HBASE-27325 the bulkload max call queue size can be update to a wrong value (#4728)

Co-authored-by: huiruan <huiruan@tencent.com>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
5 weeks agoHBASE-27246 RSGroupMappingScript#getRSGroup has thread safety problem (#4657)
Yutong Xiao [Wed, 24 Aug 2022 07:23:21 +0000 (15:23 +0800)] 
HBASE-27246 RSGroupMappingScript#getRSGroup has thread safety problem (#4657)

Co-authored-by: Sean Xiao Yutong <sean.xiaoyt@shopee.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
5 weeks agoHBASE-27320 hide some sensitive configuration information in the UI (#4723)
Ruanhui [Wed, 24 Aug 2022 06:06:18 +0000 (14:06 +0800)] 
HBASE-27320 hide some sensitive configuration information in the UI (#4723)

Co-authored-by: huiruan <huiruan@tencent.com>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
5 weeks agoHBASE-20904 Prometheus /metrics http endpoint for monitoring (#4691)
Luca Kovács [Wed, 24 Aug 2022 02:54:27 +0000 (04:54 +0200)] 
HBASE-20904 Prometheus /metrics http endpoint for monitoring (#4691)

Co-authored-by: Luca Kovacs <kovacs.luca.agota@gmail.com>
Co-authored-by: Madhusoodan P <akshayapataki123@gmail.com>
Co-authored-by: Luca Kovacs <lkovacs@cloudera.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
5 weeks agoHBASE-27303 Unnecessary replication to secondary region replicas should avoid when...
chenglei [Wed, 24 Aug 2022 02:25:42 +0000 (10:25 +0800)] 
HBASE-27303 Unnecessary replication to secondary region replicas should avoid when WAL.sync throws Exception (#4707)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
5 weeks agoHBASE-27311 The implementation of syncReplicationPeerLock is incomplete (#4715)
Duo Zhang [Tue, 23 Aug 2022 07:02:17 +0000 (15:02 +0800)] 
HBASE-27311 The implementation of syncReplicationPeerLock is incomplete (#4715)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
6 weeks agoHBASE-27305 add an option to skip file splitting when bulkload hfiles (#4709)
Ruanhui [Mon, 22 Aug 2022 13:14:30 +0000 (21:14 +0800)] 
HBASE-27305 add an option to skip file splitting when bulkload hfiles (#4709)

Co-authored-by: huiruan <huiruan@tencent.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 weeks agoHBASE-27129 Add a config that allows us to configure region-level storage policies...
tianhang [Mon, 22 Aug 2022 02:06:14 +0000 (10:06 +0800)] 
HBASE-27129 Add a config that allows us to configure region-level storage policies (#4547)

Co-authored-by: Tang Tianhang <tianhang.tang@shopee.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 weeks agoHBASE-27089 Add “commons.crypto.stream.buffer.size” configuration (#4491)
wenwj0 [Sun, 21 Aug 2022 14:21:32 +0000 (22:21 +0800)] 
HBASE-27089 Add “commons.crypto.stream.buffer.size” configuration (#4491)

Co-authored-by: wenwj0 <wenweijian2@huawei.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 weeks agoHBASE-27206 Clean up error-prone findings in hbase-common (#4645)
Andrew Purtell [Sun, 21 Aug 2022 13:04:46 +0000 (06:04 -0700)] 
HBASE-27206 Clean up error-prone findings in hbase-common (#4645)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 weeks agoHBASE-27234 Clean up error-prone warnings in hbase-examples
Andrew Purtell [Sat, 20 Aug 2022 16:13:27 +0000 (00:13 +0800)] 
HBASE-27234 Clean up error-prone warnings in hbase-examples

Close #4647

Co-authored-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
6 weeks agoHBASE-27252 Clean up error-prone findings in hbase-it
Andrew Purtell [Sat, 20 Aug 2022 15:29:20 +0000 (23:29 +0800)] 
HBASE-27252 Clean up error-prone findings in hbase-it

Close #4662

Co-authored-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
6 weeks agoHBASE-27104 Add a tool command list_unknownservers (#4523)
LiangJun He [Sat, 20 Aug 2022 13:48:58 +0000 (21:48 +0800)] 
HBASE-27104 Add a tool command list_unknownservers (#4523)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 weeks agoHBASE-27268 In trace log mode, the client does not print callId/startTime and the...
Fantasy-Jay [Sat, 20 Aug 2022 12:50:40 +0000 (20:50 +0800)] 
HBASE-27268 In trace log mode, the client does not print callId/startTime and the server does not print receiveTime (#4710)

Co-authored-by: jay.zhu <jay.zhu@huolala.cn>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 weeks agoHBASE-27295 Correct the comment of list_deadservers method in admin.rb (#4694)
LiangJun He [Wed, 17 Aug 2022 23:35:31 +0000 (07:35 +0800)] 
HBASE-27295 Correct the comment of list_deadservers method in admin.rb (#4694)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
6 weeks agoHBASE-27279 Addendum fix TestSaslTlsIPCRejectPlainText
Duo Zhang [Tue, 16 Aug 2022 13:43:03 +0000 (21:43 +0800)] 
HBASE-27279 Addendum fix TestSaslTlsIPCRejectPlainText

6 weeks agoHBASE-27294 Add new hadoop releases in our hadoop checks (#4692)
Duo Zhang [Tue, 16 Aug 2022 13:06:23 +0000 (21:06 +0800)] 
HBASE-27294 Add new hadoop releases in our hadoop checks (#4692)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
6 weeks agoHBASE-27279 Make SslHandler work with SaslWrapHandler/SaslUnwrapHandler (#4705)
Duo Zhang [Tue, 16 Aug 2022 13:05:42 +0000 (21:05 +0800)] 
HBASE-27279 Make SslHandler work with SaslWrapHandler/SaslUnwrapHandler (#4705)

Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
Reviewed-by: Andor Molnár <andor@cloudera.com>
6 weeks agoHBASE-27264 Add options to consider compressed size when delimiting blocks during...
Wellington Ramos Chevreuil [Mon, 15 Aug 2022 21:35:35 +0000 (22:35 +0100)] 
HBASE-27264 Add options to consider compressed size when delimiting blocks during hfile writes (#4675)

Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
Signed-off-by: Ankit Singhal <ankit@apache.org>
7 weeks agoHBASE-26982 Add index and bloom filter statistics of LruBlockCache on… (#4376)
liangxs [Mon, 15 Aug 2022 18:09:36 +0000 (02:09 +0800)] 
HBASE-26982 Add index and bloom filter statistics of LruBlockCache on… (#4376)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: stack <stack@apache.org>
7 weeks agoHBASE-27221 Bump spotless version to 2.24.1 (#4693)
Duo Zhang [Mon, 15 Aug 2022 07:19:57 +0000 (15:19 +0800)] 
HBASE-27221 Bump spotless version to 2.24.1 (#4693)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
7 weeks agoHBASE-27301 Add Delete addFamilyVersion timestamp verify (#4700)
SiCheng-Zheng [Mon, 15 Aug 2022 07:19:17 +0000 (15:19 +0800)] 
HBASE-27301 Add Delete addFamilyVersion  timestamp verify (#4700)

Co-authored-by: SiCheng-Zheng <zhengsicheng@jd.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 weeks agoHBASE-27296 Some Cell's implementation of toString() such as IndividualBytesFieldCell...
huaxiangsun [Fri, 12 Aug 2022 19:17:14 +0000 (12:17 -0700)] 
HBASE-27296 Some Cell's implementation of toString() such as IndividualBytesFieldCell prints out value and tags which is too verbose (#4695)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
7 weeks agoHBASE-27298 Bump hadoop version to 3.2.4 (#4696)
dependabot[bot] [Fri, 12 Aug 2022 06:31:48 +0000 (14:31 +0800)] 
HBASE-27298 Bump hadoop version to 3.2.4 (#4696)

Bumps hadoop-common from 3.2.3 to 3.2.4.

---
updated-dependencies:
- dependency-name: org.apache.hadoop:hadoop-common
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 weeks agoHBASE-27278 Improve TestTlsIPC to reuse existing IPC test code (#4682)
Duo Zhang [Fri, 12 Aug 2022 04:17:29 +0000 (12:17 +0800)] 
HBASE-27278 Improve TestTlsIPC to reuse existing IPC test code (#4682)

Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
7 weeks agoHBASE-27281 Add default implementation for Connection$getClusterId (#4683)
Peter Somogyi [Thu, 11 Aug 2022 15:16:23 +0000 (17:16 +0200)] 
HBASE-27281 Add default implementation for Connection$getClusterId (#4683)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 weeks agoHBASE-27293 Remove jenkins and personality scripts support for 1.x (#4690)
Duo Zhang [Thu, 11 Aug 2022 08:31:30 +0000 (16:31 +0800)] 
HBASE-27293 Remove jenkins and personality scripts support for 1.x (#4690)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
7 weeks agoHBASE-27201 Clean up error-prone findings in hbase-backup (#4643)
Andrew Purtell [Thu, 11 Aug 2022 07:02:17 +0000 (00:02 -0700)] 
HBASE-27201 Clean up error-prone findings in hbase-backup (#4643)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
7 weeks agoHBASE-27240 Clean up error-prone findings in hbase-http (#4653)
Andrew Purtell [Thu, 11 Aug 2022 06:30:25 +0000 (23:30 -0700)] 
HBASE-27240 Clean up error-prone findings in hbase-http (#4653)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 weeks agoHBASE-27292. Fix build failure against Hadoop 3.3.4 due to added dependency on okhttp...
Masatake Iwasaki [Wed, 10 Aug 2022 13:38:25 +0000 (22:38 +0900)] 
HBASE-27292. Fix build failure against Hadoop 3.3.4 due to added dependency on okhttp. (#4687)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 weeks agoHBASE-27248 WALPrettyPrinter add print timestamp (#4659)
SiCheng-Zheng [Wed, 10 Aug 2022 13:10:21 +0000 (21:10 +0800)] 
HBASE-27248 WALPrettyPrinter add print timestamp (#4659)

Co-authored-by: SiCheng-Zheng <zhengsicheng@jd.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 weeks agoHBASE-27288 Update compatibility matrix and release manager section in our ref guide...
Duo Zhang [Wed, 10 Aug 2022 06:05:18 +0000 (14:05 +0800)] 
HBASE-27288 Update compatibility matrix and release manager section in our ref guide about the EOL of 1.x (#4689)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
7 weeks agoHBASE-27241 Add metrics for evaluating cost and effectiveness of bloom filters (...
Bryan Beaudreault [Tue, 9 Aug 2022 19:18:55 +0000 (15:18 -0400)] 
HBASE-27241 Add metrics for evaluating cost and effectiveness of bloom filters (#4669)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
7 weeks agoHBASE-27283 Use readTO instead of hard coded RpcClient.DEFAULT_SOCKET_TIMEOUT_READ...
Duo Zhang [Tue, 9 Aug 2022 08:18:23 +0000 (16:18 +0800)] 
HBASE-27283 Use readTO instead of hard coded RpcClient.DEFAULT_SOCKET_TIMEOUT_READ when creating ReadTimeoutHandler in NettyRpcConnection (#4685)

Signed-off-by: Xin Sun <ddupgs@gmail.com
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
7 weeks agoHBASE-27284 Add 1.7.2 to download page (#4686)
Duo Zhang [Tue, 9 Aug 2022 08:16:05 +0000 (16:16 +0800)] 
HBASE-27284 Add 1.7.2 to download page (#4686)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
7 weeks agoHBASE-27282 CME in AuthManager causes region server crash (#4684)
chaijunjie0101 [Tue, 9 Aug 2022 01:52:31 +0000 (09:52 +0800)] 
HBASE-27282 CME in AuthManager causes region server crash (#4684)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
7 weeks agoHBASE-27275 graceful_stop.sh unable to restore the balance state (#4680)
LiangJun He [Tue, 9 Aug 2022 01:48:51 +0000 (09:48 +0800)] 
HBASE-27275 graceful_stop.sh unable to restore the balance state (#4680)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 weeks agoHBASE-27265 : Tool to read StoreFileTrackerFile (#4673)
Abhradeep Kundu [Mon, 8 Aug 2022 10:43:06 +0000 (16:13 +0530)] 
HBASE-27265 : Tool to read StoreFileTrackerFile (#4673)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 weeks agoHBASE-27270 Add bulkloadExecutor.resizeQueues (#4677)
SiCheng-Zheng [Mon, 8 Aug 2022 10:14:49 +0000 (18:14 +0800)] 
HBASE-27270 Add bulkloadExecutor.resizeQueues (#4677)

Co-authored-by: SiCheng-Zheng <zhengsicheng@jd.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 weeks agoHBASE-26666 Add native TLS encryption support to RPC server/client (#4666)
Andor Molnár [Sat, 6 Aug 2022 23:09:54 +0000 (01:09 +0200)] 
HBASE-26666 Add native TLS encryption support to RPC server/client (#4666)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
8 weeks agoHBASE-27273 Should stop autoRead and skip all the bytes when rpc request too big...
Duo Zhang [Sat, 6 Aug 2022 12:08:07 +0000 (20:08 +0800)] 
HBASE-27273 Should stop autoRead and skip all the bytes when rpc request too big (#4679)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
8 weeks agoHBASE-27271 Addendum use NettyFutureUtils
Duo Zhang [Thu, 4 Aug 2022 15:14:04 +0000 (23:14 +0800)] 
HBASE-27271 Addendum use NettyFutureUtils

8 weeks agoHBASE-27269 The implementation of TestReplicationStatus.waitOnMetricsReport is incorr...
LiangJun He [Thu, 4 Aug 2022 14:42:36 +0000 (22:42 +0800)] 
HBASE-27269 The implementation of TestReplicationStatus.waitOnMetricsReport is incorrect (#4678)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 weeks agoHBASE-27271 BufferCallBeforeInitHandler should ignore the flush request (#4676)
Duo Zhang [Thu, 4 Aug 2022 14:31:58 +0000 (22:31 +0800)] 
HBASE-27271 BufferCallBeforeInitHandler should ignore the flush request (#4676)

Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
2 months agoHBASE-27153 Improvements to read-path tracing
Nick Dimiduk [Thu, 23 Jun 2022 12:20:39 +0000 (14:20 +0200)] 
HBASE-27153 Improvements to read-path tracing

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2 months agoHBASE-27257 Remove unnecessary usage of CachedBlocksByFile from RS UI (#4667)
Bryan Beaudreault [Fri, 29 Jul 2022 19:28:28 +0000 (15:28 -0400)] 
HBASE-27257 Remove unnecessary usage of CachedBlocksByFile from RS UI (#4667)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 months agoHBASE-27185 Addendum fix TestShadeSaslAuthenticationProvider
Duo Zhang [Thu, 28 Jul 2022 09:20:13 +0000 (17:20 +0800)] 
HBASE-27185 Addendum fix TestShadeSaslAuthenticationProvider

2 months agoHBASE-27247 TestPerTableCFReplication.testParseTableCFsFromConfig is broken because...
chenglei [Wed, 27 Jul 2022 12:48:54 +0000 (20:48 +0800)] 
HBASE-27247 TestPerTableCFReplication.testParseTableCFsFromConfig is broken because of ReplicationPeerConfigUtil.parseTableCFsFromConfig (#4658)

Co-authored-by: comnetwork <comnetwork@163.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2 months agoHBASE-27185 Addendum fix a nit problem which is found when cherry-picking to branch-2
Duo Zhang [Wed, 27 Jul 2022 01:21:02 +0000 (09:21 +0800)] 
HBASE-27185 Addendum fix a nit problem which is found when cherry-picking to branch-2

2 months agoHBASE-27236 Clean up error-prone warnings in hbase-hbtop (#4649)
Andrew Purtell [Wed, 27 Jul 2022 01:04:14 +0000 (18:04 -0700)] 
HBASE-27236 Clean up error-prone warnings in hbase-hbtop (#4649)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
2 months agoHBASE-27185 Rewrite NettyRpcServer to decode rpc request with netty handler (#4624)
Duo Zhang [Wed, 27 Jul 2022 01:00:42 +0000 (09:00 +0800)] 
HBASE-27185 Rewrite NettyRpcServer to decode rpc request with netty handler (#4624)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
2 months agoHBASE-27210 Clean up error-prone findings in hbase-endpoint (#4646)
Andrew Purtell [Wed, 27 Jul 2022 00:33:35 +0000 (17:33 -0700)] 
HBASE-27210 Clean up error-prone findings in hbase-endpoint (#4646)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
2 months agoHBASE-27203 Clean up error-prone findings in hbase-client (#4644)
Andrew Purtell [Tue, 26 Jul 2022 22:08:24 +0000 (15:08 -0700)] 
HBASE-27203 Clean up error-prone findings in hbase-client (#4644)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
2 months agoHBASE-27087 TestQuotaThrottle times out
Andrew Purtell [Tue, 26 Jul 2022 21:05:19 +0000 (14:05 -0700)] 
HBASE-27087 TestQuotaThrottle times out

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2 months agoHBASE-27229 BucketCache statistics should not count evictions by hfile (#4639)
Bryan Beaudreault [Tue, 26 Jul 2022 20:59:57 +0000 (16:59 -0400)] 
HBASE-27229 BucketCache statistics should not count evictions by hfile (#4639)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2 months agoHBASE-27222 Purge FutureReturnValueIgnored warnings from error prone (#4634)
Duo Zhang [Tue, 26 Jul 2022 15:42:37 +0000 (23:42 +0800)] 
HBASE-27222 Purge FutureReturnValueIgnored warnings from error prone (#4634)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2 months agoHBASE-27225 Add BucketAllocator bucket size statistic logging (#4637)
Bryan Beaudreault [Tue, 26 Jul 2022 00:54:40 +0000 (20:54 -0400)] 
HBASE-27225 Add BucketAllocator bucket size statistic logging (#4637)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 months agoHBASE-27235 Clean up error-prone warnings in hbase-hadoop-compat (#4648)
Andrew Purtell [Tue, 26 Jul 2022 00:30:15 +0000 (17:30 -0700)] 
HBASE-27235 Clean up error-prone warnings in hbase-hadoop-compat (#4648)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
2 months agoHBASE-27179 Issues building with OpenJDK 17 (#4594)
Ramón García Fernández [Mon, 25 Jul 2022 11:21:21 +0000 (13:21 +0200)] 
HBASE-27179 Issues building with OpenJDK 17 (#4594)

Fix test case failures in org.apache.hadoop.hbase.http.log.TestLogLevel under Openjdk 17 because of a missing export of java.security.jgss/sun.security.krb5.
Removed option --illegal-access=permit ignored since Openjdk 17.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
2 months agoHBASE-27232 Fix checking for encoded block size when deciding if bloc… (#4640)
Wellington Ramos Chevreuil [Mon, 25 Jul 2022 10:17:16 +0000 (11:17 +0100)] 
HBASE-27232 Fix checking for encoded block size when deciding if bloc… (#4640)

Signed-off-by: Andor Molnár <andor@cloudera.com>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
Signed-off-by: Ankit Singhal <ankit@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2 months agoHBASE-27204 BlockingRpcClient will hang for 20 seconds when SASL is enabled after...
Andrew Purtell [Mon, 25 Jul 2022 06:06:31 +0000 (23:06 -0700)] 
HBASE-27204 BlockingRpcClient will hang for 20 seconds when SASL is enabled after finishing negotiation (#4642)

Revert "HBASE-24579: Failed SASL authentication does not result in an exception on client side (#1921)"

This reverts commit bd79c4065ccb13a5e217d844376b3e7b9489d2fe.

When Kerberos authentication succeeds, on the server side, after
receiving the final SASL token from the client, we simply wait for
the client to continue by sending the connection header.
After HBASE-24579, on the client side, an additional readStatus()
was added, which mistakenly assumes that after negotiation has
completed a status code will be sent. However when authentication
has succeeded the server will not send one. As a result the client
will hang and only throw an exception when the configured read
timeout is reached, which is 20 seconds by default.

We cannot unilaterally send the expected additional status code
from the server side because older clients will not expect it. The
first call will fail because the client finds unexpected bytes in
the stream ahead of the call response. Fabricating a call response
also does not seem a viable strategy for backwards compatibility.

The HBASE-24579 change needs to be reconsidered given the
difficult backwards compatibility challenges here.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>