Commit Graph

13164 Commits

Author SHA1 Message Date
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 834ccb4bf6)
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 db2ce23a93.
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 257ccad31c)
(cherry picked from commit fe23e3fd5b)
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 ce65db36c4.
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 2019-10-08 17:26:22 -07:00
Andrew Purtell f1616ba61d
HBASE-23139 MapReduce jobs lauched from convenience distribution are nonfunctional (#705)
Add hbase-shaded-gson to base job dependencies.
2019-10-08 17:22:42 -07:00
Andrew Purtell 1d531f1adb
Update CHANGES.txt for 1.5.0 RC4 2019-10-07 12:23:52 -07:00
Andrew Purtell 0e8e5a36db
HBASE-23128 Restore Region interface compatibility
Restore and deprecate Region#bulkLoadHFiles(Collection<Pair<byte[],String>>, boolean,
  Region.BulkLoadListener).
Warn if invoked.
2019-10-07 12:23:12 -07:00
Andrew Purtell 3966d0fee6
Update POMs and CHANGES.txt for 1.5.0 RC4 2019-10-07 11:46:53 -07:00
Andrew Purtell 6421112318
HBASE-23110 Backport HBASE-23054 "Remove synchronization block from MetaTableMetrics and fix LossyCounting algorithm" to branch-1 (#683)
Additional fixes for reported findbugs and checkstyle warnings.
2019-10-07 11:10:52 -07:00
Sanjeet Nishad 57b3ff1b14 HBASE-23094 Wrong log message in simpleRegionNormaliser while checking if merge is enabled.
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-10-07 16:24:15 +02:00
Bharath Vissapragada c63b2f4984 HBASE-23116 LoadBalancer should log table name when balancing per table (#689)
This commit adds table name to the logging context when
StochasticLoadBalancer is configured "per table".

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-04 15:39:50 -07:00
Rushabh 638508e20d HBASE-22874 Define a public API for Canary checking and a non-public tool implementation
Closes #580

* Canary is now an IA.Public interface
* CanaryTool is now the implementation

Branch-1 specific changes for differences in APIs and cleanup of the ref guide using a classname.

Co-authored-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-10-04 13:14:36 -07:00
Wellington Chevreuil 0ffbf9c759
HBASE-23101 Backport HBASE-22380 to branch-1
Fixes #680

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-02 11:25:26 -07:00