12873 Commits

Author SHA1 Message Date
Baiqiang Zhao
28673f0c22 HBASE-23375 HBASE-22441 BucketCache NullPointerException in cacheBlock
branches-1 backport. closes #907

Co-authored-by: binlijin <binlijin@apache.org>
Signed-off-by: binlijin <binlijin@apache.org>
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-12-13 16:02:43 -06:00
Karthik Palanisamy
84c0a90ba4 HBASE-23360 [CLI] Fix help command 'set_quota' for removing limits (#896)
Differs from original by removing Capacity Unit examples since that feature isn't on this branch.

(cherry picked from commit a553b78c1c68c64d740a763c58f5f6650b62fe29)
(cherry picked from commit 2a1efe0772b042362e494a5d8add543d0bddd172)
2019-12-11 11:00:57 -06:00
Nick Dimiduk
80c3581dbd HBASE-23552 Format Javadocs on ITBLL
We have this nice description in the java doc on ITBLL but it's
unformatted and thus illegible. Add some formatting so that it can be
read by humans.

Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2019-12-10 13:13:10 -08:00
Pierre Zemb
f5171b419e HBASE-23073 Add an optional costFunction to balance regions according to a capacity rule (#894)
Signed-off-by Wellington Chevreuil <wchevreuil@apache.org>
2019-12-09 15:47:16 +00:00
Lars Hofhansl
9b10afde93 HBASE-23364 HRegionServer sometimes does not shut down. 2019-12-05 18:14:48 -08:00
Toshihiro Suzuki
ec55c2a5d9 HBASE-22096 /storeFile.jsp shows CorruptHFileException when the storeFile is a reference file
Signed-off-by: Lijin Bin <binlijin@apache.org>
2019-12-04 21:49:11 +09:00
Toshihiro Suzuki
737eaa635a
HBASE-23359 RS going down with NPE when splitting a region with compaction disabled in branch-1 (#899)
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by Anoop Sam John <anoopsamjohn@apache.org>
2019-12-04 21:24:03 +09:00
Sean Busbey
af2ac03e3a HBASE-23337 Release scripts should rely on maven for deploy. (#887)
- switch to nexus-staging-maven-plugin for asf-release
- cleaned up some tabs in the root pom

(differs from master because there are no release scripts here.)

Signed-off-by: stack <stack@apache.org>
(cherry picked from commit 97e01070001ef81558b4dae3a3610d0c73651cb9)
2019-12-03 23:03:16 -08:00
Karthik Palanisamy
da9f6bf818 HBASE-23237 Prevent Negative values in metrics requestsPerSecond (#866)
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2019-11-24 00:13:12 +08:00
Nick Dimiduk
38ae0b561d HBASE-23234 Provide .editorconfig based on checkstyle configuration (#846)
This file is generated using IntelliJ, following these steps:
 #. Open Preferences > Editor > Code Style
 #. Select (config wheel) > Import Schema > CheckStyle Configuration
 #. Select `hbase-checkstyle/src/main/resources/hbase/checkstyle.xml`
 #. Select (config wheel) > Export > EditorConfig File

Signed-off-by: Sean Busbey <busbey@apache.org>
2019-11-21 11:24:05 -08:00
Bharath Vissapragada
eb5e94aced HBASE-23259: Populate master address end points in cluster/rs configs (#807) (#858)
All the clients need to know the master RPC end points while using master
based registry for creating cluster connections. This patch amends the
test cluster utility to populate these configs in the base configuration
object used to spin up the cluster.

The config key added here ("hbase.master.addrs") is used in the subsequent
patches for HBASE-18095.

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit 834ccb4bf6c22fc2a8aab172490fba75c7a40f1c)
2019-11-21 09:47:05 -08:00
Baiqiang Zhao
eee337f5c3 HBASE-23278 Add a table-level compaction progress display on the UI (#817)
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
2019-11-19 18:55:40 +08:00
Geoffrey Jacoby
5f36343949 HBASE-23288 - Backport HBASE-23251 (Add Column Family and Table Names to HFileContext) to branch-1 (#822)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-11-18 16:56:10 -08:00
Viraj Jasani
8e60b0c0c6
HBASE-23261 Region stuck in transition while splitting
Processing ZK BadVersionException during node transition

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-11-15 17:32:21 -08:00
Josh Elser
b566a4f9bc HBASE-22701 Disable the DynamicClassLoader when it fails to initialize
Signed-off-by: Ankit Singhal <ankitsinghal59@gmail.com>
2019-11-15 13:56:10 -06:00
Baiqiang Zhao
5130bc52d5 HBASE-23287 LogCleaner is not added to choreService
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-11-15 10:14:39 -06:00
Mingliang Liu
a154bd8a73 HBASE-23283 Provide clear and consistent logging about the period of enabled chores
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-11-14 21:10:17 -06:00
Viraj Jasani
caef9f0cd5 HBASE-23245 : Test Histogram Impl changes for histogram update (Addendum) (#818)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-11-12 15:02:49 -08:00
Viraj Jasani
aa2e4871be HBASE-23245 : MutableHistogram constructor changes and provide HistogramImpl maxExpected as long (#787)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Xu Cang <xucang@apache.org> 
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
2019-11-12 01:06:54 +08:00
Guangxu Cheng
9b30df5c63 HBASE-23273 Fix table header display is incorrect on table.jsp when viewing hbase:meta
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
2019-11-10 20:37:48 +08:00
ravowlga123
abf6ec0d73
HBASE-18439 Subclasses of o.a.h.h.chaos.actions.Action all use the same logger
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
2019-11-08 20:53:55 +01:00
Sean Busbey
72d622b7bf HBASE-23228 Allow for jdk8 specific modules on branch-1 in precommit/nightly testing (#804)
Signed-off-by: Josh Elser <elserj@apache.org>
2019-11-08 10:09:16 -06:00
Duo Zhang
cf02e6f59a HBASE-23236 Upgrade to yetus 0.11.1
Signed-off-by: stack <stack@apache.org>
2019-11-08 13:48:26 +08:00
Viraj Jasani
a5f09cd756
HBASE-23212 Dynamically reload configs for Region Recovery chore (#803)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-11-06 15:43:08 -08:00
ravowlga123
1360816786
HBASE-23250 Log message about CleanerChore delegate initialization should be at INFO
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-11-05 20:51:36 +01:00
Andrew Purtell
3f9ce864b5
HBASE-23246 Fix error prone warning in TestMetricsUserSourceImpl (#789)
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Guangxu Cheng <guangxucheng@gmail.com>
2019-11-04 10:08:11 -08:00
Thiruvel Thirumoolan
2451023327
HBASE-23219 Re-enable ZKLess tests for branch-1 (Revert HBASE-14622)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-31 16:22:34 -07:00
bitterfox
3c7c1b5489 HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time [Take2] (#748)
* HBASE-23185 Fix test failure by HBASE-23185 changes

* HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time

This reverts commit db2ce23a9332cdd89af5025d4a9f18f37a202350.
2019-10-31 15:23:47 -07:00
Wellington Ramos Chevreuil
577db5d7e5
HBASE-23238 Additional test and checks for null references on ScannerCallableWithReplicas (#780)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-10-31 17:11:20 +00:00
Sean Busbey
4bcc397f3e
HBASE-23229 Update branch-1 to 1.6.0-SNAPSHOT (#772)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-10-30 09:22:39 -05:00
Viraj Jasani
5e414f2d46 HBASE-23213 Backport HBASE-22460 to branch-1 (#761)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-29 13:15:39 -07:00
Karthik Palanisamy
090780c5bd HBASE-23208 Unit formatting in Master & RS UI
Signed-off-by: binlijin <binlijin@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 257ccad31c0886080814138aec92beb1970a54d6)
(cherry picked from commit fe23e3fd5b14023402ea2b1884c265444bf81c75)
2019-10-29 11:00:28 -05:00
Wei-Chiu Chuang
54e46d2e1b HBASE-23227 Upgrade jackson-databind to 2.9.10.1
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-10-29 08:31:35 -05:00
Guangxu Cheng
93a97ca475
HBASE-20626 Change the value of "Requests Per Second" on WEBUI
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
2019-10-28 11:58:07 -07:00
Andrew Purtell
d16cbfe91d
HBASE-23210 Backport HBASE-15519 (Add per-user metrics) to branch-1 (#755)
HBASE-15519 Add per-user metrics with lossy counting

Introducing property hbase.regionserver.user.metrics.enabled(Default:true)
to disable user metrics in case it accounts for any performance issues

Signed-off-by: Josh Elser <elserj@apache.org>
2019-10-28 09:05:36 -07:00
Sean Busbey
db2ce23a93 Revert "HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time (#731)"
Causes failure in TestMasterNoCluster and TestCatalogJanitor

This reverts commit ce65db36c4ed21331ae22345d33424439a9dda75.
2019-10-25 23:59:52 -05:00
Jacky Lau
41f671336c HBASE-23149 RatioBasedCompactionPolicy#shouldPerformMajorCompaction logic is not correct (#744)
Signed-off-by: Guangxu Cheng <guangxucheng@gmail.com>
2019-10-24 17:01:35 +08:00
Andrew Purtell
f0999a16ee
HBASE-23207 Log a region open journal (#751)
Signed-off-by: Abhishek Singh Chouhan <achouhan@apache.org>
2019-10-23 17:18:57 -07:00
bitterfox
ce65db36c4 HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time (#731)
* HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time

* Fix checkstyle
2019-10-21 09:44:14 -07:00
Caroline Zhou
e183c90fe9 HBASE-23172 HBase Canary region success count metrics reflect column family successes, not region successes 2019-10-21 09:19:48 -07:00
stack
cad7831567 HBASE-23177 If fail to open reference because FNFE, make it plain it is a Reference
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
2019-10-21 09:15:33 -07:00
Sean Busbey
924e0f765e HBASE-19663 javadoc creation needs jsr305.
Some javadoc invocations require that annotations we reference can have any
classes they reference resolved. This includes annotations _they_ have,
even though annotations are normally optional.

In some cases this showed up as javax.annotation.meta.TypeQualifierNickname
not found, because some findbugs annotations use it. Other times it was
javax.annotation.concurrent.Immutable not found, because some old guava
versions use it.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2019-10-17 21:43:05 -05:00
chenxu14
425d84dc14
HBASE-23151 Backport HBASE-23083 (Collect Executor status info periodically and report to metrics system) to branch-1
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-15 10:13:04 -07:00
Andrew Purtell
12d45f8973 HBASE-23174 Upgrade jackson and jackson-databind to 2.9.10 (branch-1) (#724) 2019-10-14 21:29:40 -05:00
Andrew Purtell
d66ed4c32e
HBASE-23153 PrimaryRegionCountSkewCostFunction SLB function should implement CostFunction#isNeeded (#714)
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-10-12 13:21:18 -07:00
Andrew Purtell
214d33e0f4
Renumber branch to 1.5.1-SNAPSHOT 2019-10-12 13:21:18 -07:00
zbq.dean
4a0442d14e HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-10-12 14:53:00 +08:00
Peter Somogyi
558d835654 HBASE-23053 Disable concurrent nightly builds (#654)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-10-10 20:15:20 +02:00
Peter Somogyi
6c5df7a564 HBASE-23114 Use archiveArtifacts in Jenkinsfiles (#681)
Signed-off-by: Michael Stack <stack@apache.org>
2019-10-10 19:50:20 +02:00
Andrew Purtell
d14e335edc
Update CHANGES.txt again for 1.5.0 RC4 rel/1.5.0 1.5.0RC4 2019-10-08 17:26:22 -07:00