Commit Graph

7218 Commits

Author SHA1 Message Date
pingsutw 0c882100d4 HBASE-22101 AsyncAdmin.isTableAvailable should not throw TableNotFoundException
Signed-off-by: zhangduo <zhangduo@apache.org>
2019-03-30 20:43:25 +08:00
zhangduo 1d9158c04a HBASE-22099 Backport HBASE-21895 "Error prone upgrade" to branch-2
Signed-off-by: Michael Stack <stack@apache.org>
2019-03-30 14:59:47 +08:00
Nihal Jain 7094987311 HBASE-20662 Increasing space quota on a violated table does not remove SpaceViolationPolicy.DISABLE enforcement
Signed-off-by: Josh Elser <elserj@apache.org>
2019-03-27 15:37:50 -04:00
Balazs Meszaros c6e0826679 HBASE-22073 /rits.jsp throws an exception if no procedure
Signed-off-by: stack <stack@apache.org>
2019-03-27 08:52:33 -07:00
Sakthi 0d2c5197de HBASE-22094: Throw TableNotFoundException if table not exists in AsyncAdmin.compact
Signed-off-by: zhangduo <zhangduo@apache.org>
2019-03-27 20:15:43 +08:00
Wei-Chiu Chuang 13f17848b8 HBASE-21619. Fix warning message caused by incorrect ternary operator evaluation
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-03-25 20:11:50 +01: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 73e40680c0 HBASE-22052 pom cleaning; ADDENDUM 2019-03-23 17:19:58 -04:00
stack fb56e4c454 HBASE-22052 pom cleaning; filter out jersey-core in hadoop2 to match hadoop3 and remove redunant version specifications
This is a reapply of a reverted commit with amendments. This commit
includes HBASE-22059 amendment. We reverted because of the HBASE-22059
amendment. This patch is HBASE-22052 plus an amended HBASE-22059. See
HBASE-22052 for full story.

jersey-core is problematic. It was transitively included from hadoop
and polluting our CLASSPATH with an implementation of a 1.x version
of the javax.ws.rs.core.Response Interface from jsr311-api when we
want the javax.ws.rs-api 2.x version.

    M hbase-endpoint/pom.xml
    M hbase-http/pom.xml
    M hbase-mapreduce/pom.xml
    M hbase-rest/pom.xml
    M hbase-server/pom.xml
    M hbase-zookeeper/pom.xml
     Remove redundant version specification (and the odd property define
     done already up in parent pom).
    M hbase-it/pom.xml
    M hbase-rest/pom.xml
     Exclude jersey-core explicitly.

    M hbase-procedure/pom.xml
     Remove redundant version and classifier.

    M pom.xml
     Add jersey-core exclusions to all dependencies that pull it in
     except hadoop-minicluster. mr tests fail w/o the jersey-core
     so let it in for minicluster and then in modules, exclude it
     where it causes damage as in hbase-it.
2019-03-23 08:57:03 -04:00
Sakthi ef1ed87679
HBASE-21991: Fix MetaMetrics issues - [Race condition, Faulty remove logic], few improvements
Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-21 13:57:27 -07:00
stack 1f84dfc796 Revert "HBASE-22052 pom cleaning; filter out jersey-core in hadoop2 to match hadoop3 and remove redunant version specifications"
This reverts commit ba29af8f54.
2019-03-21 08:21:44 -07: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
Sakthi 40ac6ac1e6
HBASE-21800: RegionServer aborted due to NPE from MetaTableMetrics coprocessor
Have included code refactoring in MetaTableMetrics & LossyCounting

Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-18 22:25:30 -07: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
stack ba29af8f54 HBASE-22052 pom cleaning; filter out jersey-core in hadoop2 to match hadoop3 and remove redunant version specifications
jersey-core is problematic. It was transitively included from hadoop
and polluting our CLASSPATH with an implementation of a 1.x version
of the javax.ws.rs.core.Response Interface from jsr311-api when we
want the javax.ws.rs-api 2.x version.

    M hbase-endpoint/pom.xml
    M hbase-http/pom.xml
    M hbase-mapreduce/pom.xml
    M hbase-rest/pom.xml
    M hbase-server/pom.xml
    M hbase-zookeeper/pom.xml
     Remove redundant version specification (and the odd property define
     done already up in parent pom).
    M hbase-it/pom.xml
    M hbase-rest/pom.xml
     Exclude jersey-core explicitly.

    M hbase-procedure/pom.xml
     Remove redundant version and classifier.

    M pom.xml
     Add jersey-core exclusions to all dependencies that pull it in
     except hadoop-minicluster. mr tests fail w/o the jersey-core
     so let it in for minicluster and then in modules, exclude it
     where it causes damage as in hbase-it.
2019-03-18 11:25:13 -07:00
Andrew Purtell 862c89fca0
HBASE-21926 Profiler servlet 2019-03-17 18:48:30 -07:00
zhangduo 56520820eb HBASE-21736 Remove the server from online servers before scheduling SCP for it in hbck
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-03-13 11:07:38 +08:00
stack 235272056d HBASE-22006 Fix branch-2.1 findbugs warning; causes nightly show as failed.
(cherry picked from commit aa8a999779)
2019-03-07 08:57:24 -06:00
Sean Busbey 3c7a349c2e Revert "SE-22006 Fix branch-2.1 findbugs warning; causes nightly show as failed."
This reverts commit aa8a999779.

bad commit message
2019-03-07 08:55:36 -06:00
stack aa8a999779 SE-22006 Fix branch-2.1 findbugs warning; causes nightly show as failed. 2019-03-06 15:59:06 -08:00
ramkrishna e5fb8214b2 Revert oHBASE-21874 Bucket cache on Persistent memory"
This reverts commit 8f8323403b.
2019-03-06 22:57:57 +05:30
ramkrishna 8f8323403b HBASE-21874 Bucket cache on Persistent memory
Signed-off-by: Anoop John <anoop.hbase@gmail.com>, Sean Busbey
<busbey@apache.org>
2019-03-06 22:09:51 +05:30
subrat.mishra a51e584d7e HBASE-21871 Added support to specify a peer table name in VerifyReplication tool
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
2019-03-06 23:30:00 +09:00
stack 11badde248 HBASE-21998 Move branch-2.1 version from 2.1.4 to 2.1.5-SNAPSHOT 2019-03-05 20:29:22 -08:00
zhangduo 1128cad3dd HBASE-21985 Set version as 2.1.4 in branch-2.1 in prep for first RC 2019-03-05 08:26:54 +08:00
Jingyun Tian 4e74afe12f HBASE-21934 RemoteProcedureDispatcher should track the ongoing dispatched calls 2019-03-04 17:16:54 +08:00
Duo Zhang 6aea82b1c7 HBASE-21094 Remove the explicit timeout config for TestTruncateTableProcedure
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-03-04 15:52:15 +08:00
Guanghao Zhang 48fcf665d5 Revert "HBASE-20194 Remove the explicit timeout config for TestTruncateTableProcedure"
This reverts commit 239d12dae8.
2019-03-04 15:51:36 +08:00
zhangduo 9f773d36d3 HBASE-21093 Move TestCreateTableProcedure.testMRegions to a separated file
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-03-04 15:50:50 +08:00
Guanghao Zhang 8a67b2b22d Revert "HBASE-20193 Move TestCreateTableProcedure.testMRegions to a separated file"
This reverts commit bf21a9dc33.
2019-03-04 15:50:28 +08:00
zhangduo ada2680bc6 HBASE-21980 Fix typo in AbstractTestAsyncTableRegionReplicasRead 2019-03-03 08:29:56 +08:00
Duo Zhang 73c62bc5d0 HBASE-21976 Deal with RetryImmediatelyException for batching request
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-03-02 12:14:43 +08:00
Duo Zhang 1a0a41bc2b HBASE-21961 Infinite loop in AsyncNonMetaRegionLocator if there is only one region and we tried to locate before a non empty row
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-02-27 17:55:20 +08:00
Duo Zhang 3eff82f8d9 HBASE-21906 Backport the CallQueueTooBigException related changes in HBASE-21875 to branch-2.1/branch-2.0 2019-02-27 17:43:26 +08:00
Duo Zhang bc71447a0d HBASE-21943 Addendum fix compile error 2019-02-27 11:14:19 +08:00
Duo Zhang dcc22d3e41 HBASE-21943 The usage of RegionLocations.mergeRegionLocations is wrong for async client
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-02-26 11:22:29 +08:00
xuqinya 8062cb95a0 HBASE-21942 [UI] requests per second is incorrect in rsgroup page(rsgroup.jsp)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-02-25 16:26:33 +01:00
Duo Zhang 3e2c75d2d7 HBASE-21929 The checks at the end of TestRpcClientLeaks are not executed
Signed-off-by: Xu Cang <xucang@apache.org>
2019-02-23 20:57:22 +08:00
Toshihiro Suzuki 51fb26209d HBASE-21867 Support multi-threads in HFileArchiver 2019-02-23 09:27:21 +09:00
zhangduo ba02226302 HBASE-21927 Always fail the locate request when error occur
Signed-off-by: Zheng Hu <openinx@gmail.com>
2019-02-20 19:48:51 +08:00
Guanghao Zhang 97445d99be HBASE-21932 Use Runtime.getRuntime().halt to terminate regionserver when abort timeout 2019-02-20 16:09:09 +08:00
zhangduo 851262d15d HBASE-21930 Deal with ScannerResetException when opening region scanner
Signed-off-by: Zheng Hu <openinx@gmail.com>
2019-02-20 11:17:59 +08:00
Josh Elser 13b5a168b7 HBASE-21915 Make FileLinkInputStream implement CanUnbuffer
Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2019-02-19 16:42:35 -05:00
Daisuke Kobayashi 217b893ec4 HBASE-21899 Fix missing variables for slf4j Logger
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
2019-02-17 20:17:04 +09:00
Duo Zhang 2386f0a897 HBASE-21910 The nonce implementation is wrong for AsyncTable
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-02-15 20:24:56 +08:00
Duo Zhang 8611bef4fd HBASE-21897 Set version to 2.1.4-SNAPSHOT for branch-2.1 2019-02-14 16:39:12 +08:00
Duo Zhang 29698a86fb HBASE-21890 Use execute instead of submit to submit a task in RemoteProcedureDispatcher
Signed-off-by: Michael Stack <stack@apache.org>
2019-02-14 14:25:11 +08:00
Sean Busbey aa64ae4377 HBASE-21884 avoid autoboxing in ugi ref counting for secure bulk load
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
(cherry picked from commit 4273e42ce5)
2019-02-13 15:18:47 -06:00
huzheng fca1ece03c HBASE-18484 VerifyRep by snapshot does not work when Yarn/SourceHBase/PeerHBase located in three different HDFS clusters 2019-02-12 10:58:18 +08:00
zhangduo 575c6cf8ff HBASE-21857 Addendum fix broken UTs 2019-02-11 10:26:52 +08:00
zhangduo 16f27d7699 HBASE-21857 Do not need to check clusterKey if replicationEndpoint is provided when adding a peer
Signed-off-by: Xu Cang <xucang@apache.org>
2019-02-08 19:48:49 +08:00
kpalanisamy a984b44798 HBASE-21816 : Print source cluster replication config directory
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
2019-02-08 14:08:28 +09:00
zhangduo 7f1688b91b HBASE-21843 RegionGroupingProvider breaks the meta wal file name pattern which may cause data loss for meta region 2019-02-07 08:47:18 +08:00
Nihal Jain c0834e1823 HBASE-21795 Client application may get stuck (time bound) if a table modify op is called immediately after split op
Signed-off-by: zhangduo <zhangduo@apache.org>
2019-02-04 20:50:31 +08:00
zhangduo e5dfb15346 HBASE-21840 TestHRegionWithInMemoryFlush fails with NPE 2019-02-04 19:26:12 +08:00
zhangduo 454805ec5d HBASE-21834 Set version as 2.1.3 in branch-2.1 in prep for first RC 2019-02-04 08:05:51 +08:00
zhangduo c0c051a44a HBASE-21829 Use FutureUtils.addListener instead of calling whenComplete directly 2019-02-03 15:42:35 +08:00
Pankaj 1ee57edc72 HBASE-21832 Backport parent "HBASE-21595 Print thread's information and stack traces when RS is aborting forcibly" to branch-2.0/2.1
Signed-off-by: zhangduo <zhangduo@apache.org>
2019-02-03 15:16:51 +08:00
zhangduo f26b73e618 HBASE-21833 Use NettyAsyncFSWALConfigHelper.setEventLoopConfig to prevent creating too many netty event loop when executing TestHRegion 2019-02-03 15:00:34 +08:00
zhangduo 3b9f1fc492 HBASE-21828 Make sure we do not return CompletionException when locating region 2019-02-02 21:14:37 +08:00
huzheng 0272839192 HBASE-21764 Size of in-memory compaction thread pool shoud be configurable 2019-02-01 10:19:04 +08:00
Pankaj ab233de2f0 HBASE-21402 Backport parent "HBASE-21325 Force to terminate regionserver when abort hang in somewhere"
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-02-01 09:20:53 +08:00
Nihal Jain a1c6a462f7 HBASE-21644 Modify table procedure runs infinitely for a table having region replication > 1
Signed-off-by: zhangduo <zhangduo@apache.org>
2019-01-31 19:34:51 +08:00
Sakthi 762ed54fb7 HBASE-21225: Having RPC & Space quota on a table/Namespace doesn't allow space quota to be removed using 'NONE'
Signed-off-by: Josh Elser <elserj@apache.org>
2019-01-30 18:52:28 -05:00
wanghuan ae3068d657 HBASE-21699 Fixed create table failed when using SPLITS_FILE => 'splits.txt'
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-30 16:01:39 +08:00
Pankaj c96af287bf HBASE-21535 Zombie Master detector is not working
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-30 15:27:47 +08:00
Nihal Jain 5d98f33b6b
HBASE-21475 Put mutation (having TTL set) added via co-processor is retrieved even after TTL expires
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-01-23 16:57:43 -08:00
Allan Yang 681864cff0 HBASE-21754 ReportRegionStateTransitionRequest should be executed in priority executor 2019-01-23 21:34:48 +08:00
Nihal Jain 76df1c1590
HBASE-21749 RS UI may throw NPE and make rs-status page inaccessible with multiwal and replication
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-01-21 17:26:23 -08:00
huzheng 51b04f6f74 HBASE-21738 Remove all the CLSM#size operation in our memstore because it's an quite time consuming. 2019-01-21 17:28:47 +08:00
zhangduo 8615258d06 HBASE-21746 Fix two concern cases in RegionMover
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-20 08:57:31 +08:00
Guanghao Zhang 450124fe56 Revert "HBASE-21034 Add new throttle type: read/write capacity unit"
This reverts commit 483b7d008e.
2019-01-19 09:49:04 +08:00
zhangduo b06387b2b0 HBASE-19695 Handle disabled table for async client
Signed-off-by: tianjingyun <tianjy1990@gmail.com>
2019-01-18 09:48:27 +08:00
meiyi 483b7d008e HBASE-21034 Add new throttle type: read/write capacity unit
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-17 17:59:27 +08:00
tedyu 6c18d97357 HBASE-20917 MetaTableMetrics#stop references uninitialized requestsMap for non-meta region
with addendum

(cherry picked from commit 654480326b)
(cherry picked from commit 3787c72953)
2019-01-15 13:39:24 -07:00
Xu Cang d89e5270aa HBASE-19722 Meta query statistics metrics source
Signed-off-by: Andrew Purtell <apurtell@apache.org>
(cherry picked from commit 58ccd3dc7e)
2019-01-15 13:39:24 -07:00
Sean Busbey 47099d1b17 HBASE-21590 Optimize trySkipToNextColumn in StoreScanner a bit. (addendum)
(cherry picked from commit a284c493b127fbf785fbee401f0854ad1979eb26)
(cherry picked from commit aa36c3f6b6)
2019-01-15 13:30:35 -07:00
Lars Hofhansl 5c7c425e34 HBASE-21590 Optimize trySkipToNextColumn in StoreScanner a bit.
(cherry picked from commit 11193d7cc1)
2019-01-15 13:30:35 -07:00
Pankaj 12dfc8bafd HBASE-21639 maxHeapUsage value not read properly from config during EntryBuffers initialization 2019-01-15 12:19:10 -08:00
zhangduo b26bcb852c HBASE-21705 Should treat meta table specially for some methods in AsyncAdmin 2019-01-13 13:41:10 +08:00
Duo Zhang d7db78b74c HBASE-21704 The implementation of DistributedHBaseCluster.getServerHoldingRegion is incorrect 2019-01-11 21:22:25 +08:00
Duo Zhang d04282627f HBASE-21663 Add replica scan support 2019-01-11 14:19:22 +08:00
Duo Zhang 3f750955b5 HBASE-21580 Support getting Hbck instance from AsyncConnection 2019-01-11 11:55:35 +08:00
Nihal Jain f357412941 HBASE-21297 ModifyTableProcedure can throw TNDE instead of IOE in case of REGION_REPLICATION change
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-10 22:23:31 +08:00
Guanghao Zhang 3e9e13f141 HBASE-21691 Fix flaky test TestRecoveredEdits 2019-01-10 14:39:42 +08:00
meiyi 117d12e9c6 HBASE-21694 Add append_peer_exclude_tableCFs and remove_peer_exclude_tableCFs shell commands
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-10 09:38:08 +08:00
Nihal Jain 111c827d1f HBASE-21645 Perform sanity check and disallow table creation/modification with region replication < 1
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-09 11:44:17 +08:00
stack 5364601dea HBASE-21698 Move version in branch-2.1 from 2.1.2 to 2.1.3-SNAPSHOT 2019-01-08 16:01:07 -08:00
zhangduo 1c73b230b8 HBASE-21683 Reset readsEnabled flag after successfully flushing the primary region 2019-01-08 15:51:52 +08:00
zhangduo 3de116af46 HBASE-21682 Support getting from specific replica 2019-01-08 09:49:22 +08:00
zhangduo 0c3da777e3 HBASE-17356 Add replica get support 2019-01-03 09:24:55 +08:00
Guanghao Zhang e669896502 HBASE-21640 Remove the TODO when increment zero 2018-12-26 21:56:39 +08:00
Andrey Elenskiy bfd75d81f9 HBASE-21545 NEW_VERSION_BEHAVIOR breaks Get/Scan with specified columns
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Sakthi
2018-12-23 22:02:46 -08:00
Duo Zhang 48786ad4a3 HBASE-21635 Use maven enforcer to ban imports from illegal packages 2018-12-24 11:30:28 +08:00
Guanghao Zhang 685a17a800 HBASE-21621 Reversed scan does not return expected number of rows
The unit test is contributed by Nihal Jain
2018-12-23 16:38:10 +08:00