Commit Graph

1312 Commits

Author SHA1 Message Date
Josh Elser 9b1b24f958 HBASE-22701 Disable the DynamicClassLoader when it fails to initialize
Signed-off-by: Ankit Singhal <ankitsinghal59@gmail.com>
2019-09-05 18:46:45 -04:00
Duo Zhang d8eeecd13e HBASE-22960 Set version as 2.1.7-SNAPSHOT in branch-2.1
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-09-03 08:32:43 +08:00
康智冬 212fa2e6d5 HBASE-22962 Fix typo in javadoc description (#569)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-09-01 21:08:40 +08:00
linkaline db85526254 HBASE-22881 Fix non-daemon threads in hbase server implementation (#512) (#558)
Signed-off-by: stack <stack@apache.org>
2019-08-29 16:14:34 -07:00
ravowlga123 e938c448f5
HBASE-22893 Change the comment in HBaseClassTestRule to reflect change in default test timeouts (#545)
Signed-off-by: Sakthi <sakthi@apache.org>
2019-08-27 01:39:19 -07:00
openinx d26f0062d1 HBASE-22810 Initialize an separate ThreadPoolExecutor for taking/restoring snapshot (addendum - use the old config key) (#517) 2019-08-22 11:50:53 +08:00
Huon Wilson a4e3136614 HBASE-22841 Add more factory functions to TimeRange
These functions make it easier to possible to use
`org.apache.hadoop.hbase.client.Table.CheckAndMutateBuilder#timeRange`
with more interesting ranges, without being forced to use the
deprecated constructors.

Signed-off-by: huzheng <openinx@gmail.com>
2019-08-17 09:48:05 +08:00
openinx f49a86ae4f HBASE-22810 Initialize an separate ThreadPoolExecutor for taking/restoring snapshot (#486) 2019-08-15 11:14:15 +08:00
Duo Zhang e1f91a5415 HBASE-22848 Set version as 2.1.6 in branch-2.1 in prep for first RC of 2.1.6 2019-08-14 11:48:14 +08:00
stack ea08907e08 HBASE-22777 Add a multi-region merge (for fixing overlaps)
Makes MergeTableRegionsProcedure do more than just two regions at a
time. Compatible as MTRP was done considering one day it'd do more than
two at a time.

Changes hardcoded assumption that merge parent regions are named
mergeA and mergeB in a column on the resultant region. Instead
can have N columns on the merged region, one for each parent
merged. Column qualifiers all being with 'merge'.

Most of code below is undoing the assumption that there are two
parents on a merge only.
2019-08-08 14:35:07 -07:00
Braavos d094b70163
HBASE-22677 Add unit tests for org.apache.hadoop.hbase.util.ByteRangeUtils and Classes
Co-authored-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-08-05 03:59:36 +02:00
stack 4587b39e63 Revert "Revert "HBASE-22723 Have CatalogJanitor report holes and overlaps; i.e. problems it sees when doing its regular scan of hbase:meta""
This reverts commit bf36bdf2b6.
2019-07-30 09:21:47 -07:00
Peter Somogyi bf36bdf2b6 Revert "HBASE-22723 Have CatalogJanitor report holes and overlaps; i.e. problems it sees when doing its regular scan of hbase:meta"
This reverts commit 65a6b270dd.
2019-07-30 10:12:27 +02:00
stack 65a6b270dd HBASE-22723 Have CatalogJanitor report holes and overlaps; i.e. problems it sees when doing its regular scan of hbase:meta
Refactor of CatalogJanitor so it generates a
Report on the state of hbase:meta when it runs. Also
refactor so CJ runs even if RIT (previous it would
punt on running if RIT) so it can generate a 'Report'
on the interval regardless. If RIT, it just doesn't
go on to do the merge/split GC as it used to.

If report finds an issue, dump as a WARN message
to the master log.

Follow-on is to make the Report actionable/available
for the Master to pull when it goes to draw the hbck
UI page (could also consider shipping the Report as
part of ClusterMetrics?)

Adds new, fatter Visitor to CJ, one that generates
Report on each run keeping around more findings as
it runs.

Moved some methods around so class reads better;
previous methods were randomly ordered in the class.

M hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
 Make a few handy methods public.

M hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
 Add utility as defaults on the Inteface; i.e. is this the first region
 in table, is it last, does a passed region come next, or does passed
 region overlap this region (added tests for this new stuff).

M hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java
 Bugfix... handle case where buffer passed is null.

M hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
 Lots of change, reorg., but mostly adding consistency checking
 to the visitor used scanning hbase:meta on a period and the
 generation of a Report on what the scan has found traversing
 hbase:meta. Added a main so could try the CatalogJanitor against
 a running cluster.

A hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestCatalogJanitorCluster.java
 Fat ugly test for CatalogJanitor consistency checking.

M hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionInfo.java
 Add tests for new functionality in RI.

M hbase-shell/src/main/ruby/hbase/table.rb
 Bug fix for case where meta has a null regioninfo; scan was aborting.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-07-29 16:21:05 -07:00
毛蛤丝 c14ccc302d HBASE-22700:incorrect timeout in recommended ZooKeeper configuration
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-07-17 22:27:39 +08:00
syedmurtazahassan d26e9d04e1
HBASE-22586 Javadoc Warnings related to @param tag
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-07-13 17:24:57 +02:00
Braavos 3c017c5b50 HBASE-22669 Add unit tests for org.apache.hadoop.hbase.util.Strings (#363)
These tests were written using Diffblue Cover.
2019-07-10 10:12:15 +02:00
Duo Zhang a172b480fe HBASE-22617 Recovered WAL directories not getting cleaned up (#330)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-06-25 18:44:59 +08:00
Sean Busbey 360288a320 HBASE-22615 Make TestChoreService more robust to timing
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions

Closes #328

Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e03a)
2019-06-22 01:25:29 -05:00
Jan Hentschel 3f62e481e2
HBASE-22344 Documented the deprecation of public and limited private APIs (#208)
Signed-off-by: stack <stack@apache.org>
2019-06-17 23:10:24 +02:00
Murtaza Hassan cf63fbac05
HBASE-22565 Javadoc Warnings: @see cannot be used in inline documentation 2019-06-14 11:50:33 +02:00
Sakthi b7f60bc87f HBASE-22458: TestClassFinder fails when run on JDK11
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 0445186f1a)
2019-06-13 09:02:33 -05:00
Sakthi 8cf9f6c361 HBASE-22534 TestCellUtil fails when run on JDK11
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 9b23e1d00c)
2019-06-04 14:53:03 -05:00
Duo Zhang e780174bde HBASE-22316 Record the stack trace for current thread in FutureUtils.get 2019-05-30 11:32:15 +08:00
Wellington Chevreuil fa14f91a6b HBASE-22496 UnsafeAccess.unsafeCopy should not copy more than UNSAFE_COPY_THRESHOLD on each iteration
Change-Id: I259bc54a0a5b3474d3c455639c3e9cb1e95c8438

Signed-off-by: huzheng <openinx@gmail.com>
2019-05-30 10:19:43 +08:00
stack bbf01b6074 Preparing development version 2.1.6-SNAPSHOT 2019-05-28 22:07:03 +00:00
stack 0ba7cc01a1 Preparing HBase release 2.1.5RC1; tagging and updates to CHANGES.md and RELEASENOTES.md 2019-05-28 22:06:49 +00:00
Sean Busbey 5eb0a2e64a HBASE-22148 Provide a LimitedPrivate(COPROC) API for setting Cell timestamp without copying.
Signed-off-by: Josh Elser <elserj@apache.org>
(cherry picked from commit 16f18d5c2d)
2019-05-28 12:20:00 -05:00
stack 96175c7f51 Preparing development version 2.1.6-SNAPSHOT 2019-05-22 22:27:50 +00:00
stack 5a13560d24 Preparing HBase release 2.1.5RC0; tagging and updates to CHANGES.md and RELEASENOTES.md 2019-05-22 22:27:35 +00:00
Andrew Purtell 5b24d4e1bc
HBASE-22449 https everywhere in Maven metadata (#247) 2019-05-21 12:38:26 -07:00
OrDTesters b818be4abf HBASE-21467 Fix flaky test TestCoprocessorClassLoader.testCleanupOldJars 2019-05-06 09:46:28 -07:00
Sakthi 2c9077ae51 HBASE-22054: Space Quota: Compaction is not working for super user in case of NO_WRITES_COMPACTIONS
Signed-off-by: Josh Elser <elserj@apache.org>
2019-04-30 14:40:51 -04:00
Jan Hentschel 57cd5ae5aa HBASE-22231 Removed unused and '*' import 2019-04-24 09:09:11 +02:00
zouxiangwen 150f87797a HBASE-22292 PreemptiveFastFailInterceptor clean repeatedFailuresMap issue
Signed-off-by: stack <stack@apache.org>
2019-04-23 08:03:54 -07:00
Andrew Purtell 6ac2437485
HBASE-22235 OperationStatus.{SUCCESS|FAILURE|NOT_RUN} are not visible to 3rd party coprocessors 2019-04-16 13:18:57 -07:00
Vladimir Rodionov aea9277ea6 HBASE-21688 Address WAL filesystem issues
Amending-Author: Josh Elser <elserj@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2019-04-03 15:40:16 -04:00
subrat.mishra 0fd73b5852 HBASE-22053 Changed zookeeper URL from http://hadoop.apache.org to https://zookeeper.apache.org Replaced version 3.1.1 with 3.3.3 as 3.1.1 is deprecated.
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
2019-03-28 00:32:33 +09:00
stack c6dc2541e9 Preparing development version 2.1.5-SNAPSHOT 2019-03-24 16:02:56 +00:00
stack 57b29f2bcf Preparing HBase release 2.1.4RC1.5; tagging and updates to CHANGES.md and RELEASENOTES.md 2019-03-24 16:02:41 +00:00
stack 59c1e2b07c Preparing development version 2.1.5-SNAPSHOT 2019-03-19 18:44:34 +00:00
stack 5b7722f855 Preparing HBase release 2.1.4RC1; tagging and updates to CHANGES.md and RELEASENOTES.md 2019-03-19 18:44:20 +00:00
stack e30755bf15 Preparing development version 2.1.5-SNAPSHOT 2019-03-18 23:02:12 +00:00
stack 18a6ad74b9 Preparing HBase release 2.1.4RC1; tagging and updates to CHANGES.md and RELEASENOTES.md 2019-03-18 23:01:58 +00:00
stack 74837d3fc5 Preparing development version 2.1.5-SNAPSHOT 2019-03-18 19:01:27 +00:00
stack ec50f16c33 Preparing HBase release 2.1.4RC1; tagging and updates to CHANGES.md and RELEASENOTES.md 2019-03-18 19:01:12 +00:00
Geoffrey Jacoby ee3f870f95
HBASE-22032 KeyValue validation should check for null byte array
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java
2019-03-15 12:38:44 -07:00
Sean Busbey fc3d45954b HBASE-21999 ADDENDUM unknown revisions are okay; make sure we indicate them.
(cherry picked from commit a7bbff170a)
2019-03-07 13:59:34 -06:00
stack c8f9f56e94 HBASE-21999 [DEBUG] Exit if git returns empty revision! 2019-03-06 16:44:50 -08:00
ramkrishna e5fb8214b2 Revert oHBASE-21874 Bucket cache on Persistent memory"
This reverts commit 8f8323403b.
2019-03-06 22:57:57 +05:30