Commit Graph

12788 Commits

Author SHA1 Message Date
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
Toshihiro Suzuki dd9eadb00f
HBASE-22988 Backport HBASE-11062 "hbtop" to branch-1
Fixes #647

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-01 16:48:16 -07:00
zhangduo 37e5e47faa
HBASE-21947 TestShell is broken after we remove the jackson dependencies
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-01 15:22:16 -07:00
Sandeep Pal 1df99624a5
HBASE-22902 At regionserver start there's a request to roll the WAL
Closes #668

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-01 15:16:57 -07:00
Pankaj 4cd51aed31 HBASE-22930 Set unique name to longCompactions/shortCompactions threads (#645) 2019-09-30 10:11:21 +02:00
Peter Somogyi daf1faabfd
HBASE-22653 Do not run errorProne on branch-1 PRs (#669)
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
2019-09-28 10:37:57 +02:00
Sanjeet Nishad b96aefd07f HBASE-23038 Provide consistent and clear logging about disabling chores
Differs from master/branch-2 version due to commons-logging

Co-authored-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit b45c0d0efa)
2019-09-27 20:17:46 -05:00
Viraj Jasani f77c14d181 HBASE-23015 : Moving from Jackson2 to shaded Gson (#616)
* Backport HBASE-20587
* moving to shaded gson with jdk7 compatibility
* Include jackson-mapper-asl for testing-util because of Hadoop
* Update shaded jar check to allow hbase-thirdparty libs

Signed-off-by: Sean Busbey <busbey@apache.org>
Co-authored-by: Duo Zhang <zhangduo@apache.org>
2019-09-25 21:49:48 -05:00
zbq.dean 771e184376 HBASE-22975 Add read and write QPS metrics at server level and table level
Signed-off-by Reid Chan <reidchan@apache.org>
2019-09-23 13:51:51 +08:00
Peter Somogyi 7239ccb433
HBASE-22653 Do not run errorProne on JDK7 (#651)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-09-22 20:35:50 +02:00
wuqiong 0339ad1156 HBASE-23058 Should be 'Column Family Name' in table.jsp
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-09-21 19:32:30 +08:00
sreenivasulureddy dd761b1e69 HBASE-22649: Encode StoreFile path URLs in the UI to handle scenarios where CF contains special characters (like # etc.)
Signed-off-by: Sakthi<sakthi@apache.org>
2019-09-20 01:20:15 -07:00
zbq.dean b5b871c133 HBASE-22890 Verify the file integrity in persistent IOEngine
Signed-off-by Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by stack <stack@apache.org>
Signed-off-by Reid Chan <reidchan@apache.org>
2019-09-20 14:09:34 +08:00
Viraj Jasani 5c4d8e036f HBASE-23024 Replace initcause with Constructor arg (#627)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-09-17 14:00:12 +02:00
Sean Busbey 41990ba20a HBASE-22955 Properly set jdk7 as JAVA_HOME for branches-1 precommit and nightly. (#621)
* leave Zulu JDKs at their normal location
* set JAVA_HOME in the dockerfile
* work around yetus setting a different JAVA_HOME

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2019-09-16 22:22:36 -05:00
Reid Chan 3b6cff590e Revert "HBASE-22890 Verify the files when RegionServer is starting and BucketCache is in file mode"
Reason: There're still some concerns on whether to delete cached data file.

This reverts commit 5bf60ec55f.
2019-09-16 17:50:57 +08:00
zbq.dean 5bf60ec55f HBASE-22890 Verify the files when RegionServer is starting and BucketCache is in file mode
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Stack <stack@apache.org>
2019-09-16 15:14:39 +08:00
Sean Busbey 20d7da50e9
HBASE-23023 upgrade shellcheck used in dockerfile (#625)
Signed-off-by: stack <stack@apache.org>
2019-09-14 14:03:32 -05:00
Peter Somogyi 99e7f60c7d
HBASE-23019 Handle --skip-errorprone on branch-1 (#620)
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Xu Cang <xcang@salesforce.com>
2019-09-13 20:26:26 +02:00
Viraj Jasani 72ea3666c0 HBASE-22760 : Pause/Resume/Query Snapshot Auto Cleanup Activity (#619) 2019-09-13 10:38:10 +05:30
caroliney14 de9b1d403c
[HBASE-22804] Provide an API to get list of successful regions and total expected regions in Canary (#612)
Signed-off-by: Xu Cang <xucang@apache.org>
2019-09-12 13:41:54 -07:00
Balazs Meszaros 3f84591439 HBASE-23007 UnsatisfiedLinkError when using hbase-shaded packages under linux (#604)
* Added jackson dependencies for WebHdfs.

(Differs from branch-2 because we didn't have a bare relocation rule for "net" here)

Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 63db1d69a1)
2019-09-10 14:36:38 -05:00
Peter Somogyi 1c0ee31809 HBASE-22981 Remove unused flags for Yetus (#591)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-09-06 15:00:50 +02:00
openinx 352344c9be
HBASE-22912 [Backport] HBASE-22867 to branch-1 to avoid ForkJoinPool to spawn thousands of threads (#549)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-09-05 19:32:42 +08:00
openinx 4c2bf71a3a
HBASE-22937 The RawBytesComparator in branch-1 have wrong comparison order (#582) 2019-09-05 17:48:41 +08:00
Duo Zhang 157ffae07d HBASE-22724 Add a emoji on the vote table for pre commit result on github (#568)
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Stack <stack@apache.org>
2019-09-04 09:06:30 +08:00
Pierre Zemb 73e0304567 HBASE-22618 added the possibility to load custom cost functions
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-08-28 09:56:55 +01:00