Commit Graph

15753 Commits

Author SHA1 Message Date
Nihal Jain 46a53cac50 HBASE-17370 Fix or provide shell scripts to drain and decommission region server
Add shell support for the following:
- List decommissioned/draining region servers
- Decommission a list of region servers, optionally offload corresponding regions
- Recommission a region server, optionally load a list of passed regions

Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-23 21:20:06 +08:00
Nihal Jain cf0cac1041 HBASE-21756 Backport HBASE-21279 (Split TestAdminShell into several tests) to branch-2
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-23 21:17:48 +08:00
Allan Yang d80556ec85 HBASE-21754 ReportRegionStateTransitionRequest should be executed in priority executor 2019-01-23 21:08:13 +08:00
Duo Zhang 6c57050af6 HBASE-21753 Support getting the locations for all the replicas of a region 2019-01-23 18:10:01 +08:00
Sergey Shelukhin 96b98da19d HBASE-21575 : memstore above high watermark message is logged too much 2019-01-22 15:28:29 -08:00
huzheng 4eba6b3656 HBASE-21750 Most of KeyValueUtil#length can be replaced by cell#getSerializedSize for better performance because the latter one has been optimized 2019-01-22 20:21:49 +08:00
huzheng 1443694f89 HBASE-21734 Some optimization in FilterListWithOR 2019-01-22 11:50:19 +08:00
Nihal Jain 5b99a34a31
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:17 -08:00
huzheng c679a76845 HBASE-21738 Remove all the CSLM#size operation in our memstore because it's an quite time consuming. 2019-01-21 18:01:16 +08:00
zhangduo e0d4915f75 HBASE-21746 Fix two concern cases in RegionMover
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-20 08:57:16 +08:00
Duo Zhang ff272e8683 HBASE-21726 Add getAllRegionLocations method to AsyncTableRegionLocator 2019-01-19 11:14:40 +08:00
zhangduo 07484db1ff HBASE-19695 Handle disabled table for async client
Signed-off-by: tianjingyun <tianjy1990@gmail.com>
2019-01-17 18:34:30 +08:00
Beluga Behr fffad56dd6 HBASE-20209 Do Not Use Both Map containsKey and get Methods in Replication Sink
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 3e92cd5771)
2019-01-16 15:16:30 -07:00
Duo Zhang ebf4fe3bb9 HBASE-21710 Add quota related methods to the Admin interface
Signed-off-by: Michael Stack <stack@apache.org>
2019-01-16 21:10:27 +08:00
Duo Zhang 4e792414f6 HBASE-21731 Do not need to use ClusterConnection in IntegrationTestBigLinkedListWithVisibility
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-01-16 20:59:37 +08:00
Duo Zhang 479b8bef6d HBASE-21732 Should call toUpperCase before using Enum.valueOf in some methods for ColumnFamilyDescriptor
Signed-off-by: Zheng Hu <openinx@gmail.com>
2019-01-16 20:46:29 +08:00
Peter Somogyi c353d93f69 HBASE-21727 Simplify documentation around client timeout
Signed-off-by: Michael Stack <stack@apache.org>
2019-01-16 11:41:40 +01:00
Allan Yang b82ef56267 HBASE-20854 Wrong retries number in RpcRetryingCaller's log message 2019-01-16 11:40:49 +01:00
Peter Somogyi 5f9316e781 HBASE-21711 Remove references to git.apache.org/hbase.git 2019-01-16 10:03:50 +01:00
Tommy Li 49e7e27467 HBASE-21712 : Make submit-patch.py python3 compatible
Signed-off-by: Sergey Shelukhin <sershe@apache.org>
2019-01-16 09:28:25 +01:00
Pankaj 9990ae9a13 HBASE-21612, Add developer debug options in HBase Config for REST server 2019-01-15 21:51:24 -08:00
huzheng fdfbd9a21c HBASE-21657 PrivateCellUtil#estimatedSerializedSizeOf has been the bottleneck in 100% scan case 2019-01-16 09:47:27 +08:00
tianjingyun 87d4ab8669 HBASE-21647 Add status track for splitting WAL tasks 2019-01-15 16:39:02 -08:00
Pankaj 11a0793d72 HBASE-21639 maxHeapUsage value not read properly from config during EntryBuffers initialization 2019-01-15 12:18:53 -08:00
Pankaj a9f40d3bf7 HBASE-21595, Print thread's information and stack traces when RS is aborting forcibly 2019-01-15 12:14:40 -08:00
Peter Somogyi 1200733cd9 HBASE-21685 Change repository urls to Gitbox
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-01-15 10:28:18 +01:00
Sakthi 1e91ae8f9e HBASE-21634: Print error message when user uses unacceptable values for LIMIT while setting quotas.
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-15 09:55:59 +08:00
Sakthi dc50b570c6 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-14 18:01:33 -07:00
zhangduo e478c02d14 HBASE-21707 Addendum remove debug logs 2019-01-15 08:35:42 +08:00
zhangduo 5c88976fa3 HBASE-21707 Fix warnings in hbase-rsgroup module and also make the UTs more stable
Signed-off-by: Zheng Hu <openinx@gmail.com>
2019-01-14 11:52:01 +08:00
Guangxu Cheng fb91f64a04 HBASE-20220 [RSGroup] Check if table exists in the cluster before moving it to the specified regionserver group
Signed-off-by: tedyu <yuzhihong@gmail.com>
2019-01-14 11:29:09 +08:00
zhangduo e7113edddf HBASE-21705 Should treat meta table specially for some methods in AsyncAdmin 2019-01-13 13:41:01 +08:00
Duo Zhang 9ec84c235f HBASE-21704 The implementation of DistributedHBaseCluster.getServerHoldingRegion is incorrect 2019-01-11 21:20:50 +08:00
Duo Zhang a09dffd106 HBASE-21663 Add replica scan support 2019-01-11 14:19:17 +08:00
Duo Zhang 8b9bfa0df5 HBASE-21580 Support getting Hbck instance from AsyncConnection 2019-01-11 11:26:48 +08:00
Nihal Jain d394d84420 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:15:49 +08:00
Allan Yang f59b99c48a HBASE-21652 Refactor ThriftServer making thrift2 server inherited from thrift1 server(addendum) 2019-01-10 11:09:26 +08:00
zhangduo 58b11dcb1c HBASE-21700 Simplify the implementation of RSGroupInfoManagerImpl 2019-01-10 10:52:41 +08:00
Guanghao Zhang 2cf13d04a1 HBASE-21695 Fix flaky test TestRegionServerAbortTimeout 2019-01-10 10:23:47 +08:00
Guanghao Zhang f0c0f3e6ec HBASE-21691 Fix flaky test TestRecoveredEdits 2019-01-10 10:11:31 +08:00
meiyi 14fb3af5fb HBASE-21694 Add append_peer_exclude_tableCFs and remove_peer_exclude_tableCFs shell commands
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-09 22:22:47 +08:00
Sergey Shelukhin dfa86404dd HBASE-21614 RIT recovery with ServerCrashProcedure doesn't account for all regions
Signed-off-by: zhangduo <zhangduo@apache.org>
2019-01-09 20:03:30 +08:00
Allan Yang 891c620c5b HBASE-21661 Provide Thrift2 implementation of Table/Admin 2019-01-09 16:01:22 +08:00
Nihal Jain 26e02e1c0b 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:05:16 +08:00
Jingyun Tian f02ac310d2 HBASE-21588 Procedure v2 wal splitting implementation 2019-01-08 17:26:58 +08:00
zhangduo 348c2dfe9b HBASE-21683 Reset readsEnabled flag after successfully flushing the primary region 2019-01-08 15:51:48 +08:00
zhangduo d5fff9c256 HBASE-21682 Support getting from specific replica 2019-01-08 10:04:08 +08:00
meiyi c28e03e5df HBASE-21159 Add shell command to switch throttle on or off
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-08 09:39:22 +08:00
Sakthi 2bd1b28d5e HBASE-21361: Disable printing of stack-trace in shell when quotas are not enabled
Signed-off-by: Josh Elser <elserj@apache.org>
2019-01-07 18:07:46 -05:00
Sakthi eab243942f HBASE-21362: Disable printing of stack-trace in shell when quotas are violated
Signed-off-by: Josh Elser <elserj@apache.org>
2019-01-07 18:07:46 -05:00