Commit Graph

16199 Commits

Author SHA1 Message Date
David Manning 961f9a2041
HBASE-22935 Fix false warn of stuck MonitoredRPCHandler MonitoredTask
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-08-27 17:50:11 -07:00
ravowlga123 cb2d46467e
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:38:17 -07:00
Istvan Toth 76e9b84ac2 HBASE-22922 Lock all regions to be merged in case of multi region merge (#542)
* HBASE-22922 Lock all regions to be merged in case of multi region merge

* HBASE-22922 Lock all regions to be merged in case of multi region merge
 (addendum)

fix off-by-one error in patch
Signed-off-by: stack <stack@apache.org>
2019-08-26 21:11:05 -07:00
Aman Poonia d48225c8bf HBASE-22872 Don't try to create normalization plan unnecesarily when split and merge both are disabled
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-08-27 11:42:44 +08:00
Rushabh da72e2186b HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525)
Signed-off-by: Stack <stack@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 0438fdc0f6)
2019-08-26 16:46:12 -05:00
Sakthi 1d939c7944 HBASE-22895 Fix the flakey TestSpaceQuotas (#526)
Break down TestSpaceQuotas(TSQ) into TSQBasicFunctioning, TSQDropTable, TSQIncrease, TSQOnBulkLoad, TSQOnNonExistingTables, TSQRemoval & TSQSwitchPolicies

Signed-off-by: Stack <stack@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-26 14:53:49 +08:00
Sakthi a1161c65b9 HBASE-22914 Backport HBASE-20662 Increasing space quota on a violated table does not remove SpaceViolationPolicy.DISABLE enforcement (#534)
Signed-off-by: Sakthi <sakthi@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-26 14:44:38 +08:00
Bing Xiao ad0607f63b HBASE-22894 Move testOpenRegionFailedMemoryLeak to dedicated class
Amending-Author: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-25 13:49:37 +08:00
Pankaj 481b2e332e HBASE-22904 NPE occurs when RS send space quota usage report during HMaster init (#529)
* NPE occurs when RS send space quota usage report during HMaster init

* Added the debug log

 Signed-off-by: Sakthi <sakthi@apache.org>
 Signed-off-by: stack <stack@apache.org>
2019-08-24 20:57:14 -07:00
Sakthi 40d30fc397
HBASE-22910 Enable TestMultiVersionConcurrencyControl (#531)
Signed-off-by: Stack <stack@apache.org>
2019-08-24 18:31:55 -07:00
Pankaj b55b676b78 HBASE-22806 Recreating a deleted column family brings back the deleted cells (#530)
Signed-off-by: stack <stack@apache.org>
2019-08-24 18:20:29 -07:00
Gav be5f048667 HBASE-22913 Use Hadoop label for nightly builds (#532)
HBase, a Hadoop related project, must use the Hadoop label please.
This build, and others are starving the 'ubuntu' label which other projects need to use.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-24 16:54:31 +08:00
Sean Busbey 17cf5b0044 HBASE-22911 reduce concurrent PR builds.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-24 16:30:55 +08:00
Tai-Ying Lee e11303445f
HBASE-20509 putting List in HashSet directly without using addAll function to improve performance
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-08-24 00:12:27 +02:00
Peter Somogyi f06aaf23be
HBASE-21996 Set locale for javadoc
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-08-23 23:06:19 +02:00
wuguihu 7a739c0d45
HBASE-21400 correct spelling error of 'initilize' in comment
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-08-23 21:34:15 +02:00
Artem Ervits 495551f896 HBASE-22464 Improvements to hbase-vote script
* wget should use timestamps to avoid re-downloading RC artifacts we already have.
* allow changing to maven profiles other than runAllTests for test step

Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 74fb2040ea)
2019-08-23 12:47:32 -05:00
Duo Zhang d6769095aa HBASE-22891 Use HBaseQA in HBase-PreCommit-GitHub-PR job (#518)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-08-22 23:07:41 +08:00
openinx 0690864828 HBASE-22867 The ForkJoinPool in CleanerChore will spawn thousands of threads in our cluster with thousands table (#513)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-08-22 19:49:37 +08:00
openinx cb0727d809 HBASE-22810 Initialize an separate ThreadPoolExecutor for taking/restoring snapshot (addendum - use the old config key) (#517) 2019-08-22 11:40:14 +08:00
Viraj Jasani 84d092cb1d HBASE-22863 Cleanup transitive Jackson1 vulnerable dependencies(forward-port HBASE-22728) (#505)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-08-21 22:24:27 +08:00
shahrs87 c8bb62323e HBASE-22601 Misconfigured addition of peers leads to cluster shutdown. (#500)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-21 21:56:37 +08:00
Jan Hentschel ce91a486b3
HBASE-22844 Fixed Checkstyle violations in client snapshot exceptions
Signed-off-by: stack <stack@apache.org>
2019-08-21 11:02:26 +02:00
meiyi 947f6d4788 HBASE-22879 user_permission command failed to show global permission (#511) 2019-08-21 09:37:42 +08:00
Andrew Purtell 46bb806654
Revert "HBASE-22823 Mark Canary as Public/Evolving"
This reverts commit 6c874055eb.

See HBASE-22874
2019-08-20 09:45:51 -07:00
stack b34ed62a2b HBASE-22882 TestFlushSnapshotFromClient#testConcurrentSnapshottingAttempts is flakey (was written flakey)
Addendum; just remove the test altogether

 Signed-off-by:  Nick Dimiduk <ndimiduk@apache.org>
2019-08-19 14:26:45 -07:00
stack 8c4e13ac17 HBASE-22882 TestFlushSnapshotFromClient#testConcurrentSnapshottingAttempts is flakey (was written flakey) 2019-08-19 12:58:21 -07:00
satanson 754c2da349 HBASE-22870 reflection fails to access a private nested class
Signed-off-by Reid Chan <reidchan@apache.org>

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
2019-08-18 12:02:06 +08:00
Duo Zhang f7364a6f15 HBASE-22871 Move the DirScanPool out and do not use static field (#504)
Signed-off-by: Zheng Hu <openinx@gmail.com>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-08-17 23:46:55 +08:00
Huon Wilson 90fb564db2 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:43:17 +08:00
Daisuke Kobayashi 27899bfd42 HBASE-22860 Master's webui returns NPE/HTTP 500 under maintenance mode
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-08-16 11:22:13 +01:00
Guanghao Zhang dc7004ce47 HBASE-22858 Add HBCK Report to master's header.jsp (#497)
Signed-off-by: Stack <stack@apache.org>
Signed-off-by: Sakthi <sakthi@apache.org>
2019-08-16 14:38:24 +08:00
Itsuki Toyota bedab0d40c HBASE-22833 MultiRowRangeFilter should provide a method for creating… (#493)
* HBASE-22833: MultiRowRangeFilter should provide a method for creating a filter which is functionally equivalent to multiple prefix filters

* Delete superfluous comments

* Add description for MultiRowRangeFilter constructor

* Add null check for rowKeyPrefixes

* Fix checkstyle

Signed-off-by: huzheng <openinx@gmail.com>
2019-08-16 10:02:43 +08:00
Caroline Zhou 6c874055eb
HBASE-22823 Mark Canary as Public/Evolving
Signed-off-by: Xu Cang <xucang@apache.org>
2019-08-15 14:23:07 -07:00
Guanghao Zhang bfdbaf7db2 HBASE-22857 Fix the failed ut TestHRegion and TestHRegionWithInMemoryFlush (#495)
Signed-off-by: Peter Somogyi psomogyi@apache.org
Signed-off-by: stack stack@apache.org
2019-08-15 13:18:38 -07:00
openinx b4734e7667 HBASE-22810 Initialize an separate ThreadPoolExecutor for taking/restoring snapshot (#486) 2019-08-15 11:05:48 +08:00
Duo Zhang 413508ab49 HBASE-22856 HBASE-Find-Flaky-Tests fails with pip error 2019-08-15 10:38:47 +08:00
Guanghao Zhang c04dcc49e7 HBASE-22851 Preparing HBase release 2.2.1RC0: set version to 2.2.1 in branch-2.2 2019-08-14 19:33:21 +08:00
Guanghao Zhang 73a004aae6
HBASE-22850 Generate CHANGES.md and RELEASENOTES.md for 2.2.1 (#492)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-14 06:25:30 -05:00
stack 58a79618b1 HBASE-22771 [HBCK2] fixMeta method and server-side support; AMENDMENT remove mistaken .rej commit 2019-08-14 18:23:07 +08:00
stack b791cd6d4c HBASE-22771 [HBCK2] fixMeta method and server-side support
This is a first cut at this patch. Implements hold fixing only
currently.

Add a fixMeta method to Hbck Interface.

M hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
 Bug fix. If hole is on end of last table, I wasn't seeing it.

A hbase-server/src/main/java/org/apache/hadoop/hbase/master/MetaFixer.java
 Add a general meta fixer class. Explains up top why this stuff doesn't
 belong inside MetaTableAccessor.

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
 Break out the filesystem messing so don't have to copy it nor do more
 than is needed doing fixup for Region holes.

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
 Change behavious slightly. If directory exists, don't fail as we did
 but try and keep going and create .regioninfo file if missing (or
 overwrite if in place). This should make it idempotent. Can rerun
 command. Lets see if any repercussions in test suite.

A hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMetaFixer.java
 Add test.

Signed-off-by: Zheng Hu <openinx@gmail.com>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-08-14 18:22:55 +08:00
stack 376d193742 HBASE-22771 [HBCK2] fixMeta method and server-side support
This is a first cut at this patch. Implements hold fixing only
currently.

Add a fixMeta method to Hbck Interface.

M hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
 Bug fix. If hole is on end of last table, I wasn't seeing it.

A hbase-server/src/main/java/org/apache/hadoop/hbase/master/MetaFixer.java
 Add a general meta fixer class. Explains up top why this stuff doesn't
 belong inside MetaTableAccessor.

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
 Break out the filesystem messing so don't have to copy it nor do more
 than is needed doing fixup for Region holes.

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
 Change behavious slightly. If directory exists, don't fail as we did
 but try and keep going and create .regioninfo file if missing (or
 overwrite if in place). This should make it idempotent. Can rerun
 command. Lets see if any repercussions in test suite.

A hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMetaFixer.java
 Add test.

Signed-off-by: Zheng Hu <openinx@gmail.com>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-08-14 18:22:42 +08:00
Andrew Purtell f69d15b500
HBASE-22828 Log a region close journal (#471)
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-08-13 15:44:06 -07:00
Sakthi 90f1fcae16 HBASE-22845 Revert MetaTableAccessor#makePutFromTableState access to public (#489)
HBCK2 is dependent on it
2019-08-13 11:29:03 -07:00
Viraj Jasani b4f18e0458 HBASE-22838 : assembly plugin should use posix (#480)
Signed-off-by: huzheng <openinx@gmail.com>
2019-08-13 14:50:18 +08:00
stack 748e5946f6 Revert "HBASE-22699 refactor isMetaClearingException (#436)"
This reverts commit 0a98df3a34.
2019-08-12 11:19:10 -07:00
johnhomsea 0a98df3a34 HBASE-22699 refactor isMetaClearingException (#436)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-12 16:13:05 +08:00
syedmurtazahassan f7607a831f
HBASE-22725 Remove all remaining Javadoc warnings
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-08-11 22:14:26 +02:00
Sakthi 66197dd2d0 HBASE-22803 Modify config value range to enable turning off of the hbck chore (#466)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-08-09 01:11:19 -07:00
Guanghao Zhang 549348a465 HBASE-22824 Show filesystem path for the orphans regions on filesystem (#469)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-09 15:11:39 +08:00