Mohammad Arshad
d697c4061a
HBASE-24675: On Master restart all servers are assigned to default rsgroup
...
Closes #2102
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-20 19:11:08 +05:30
Mohammad Arshad
f5080eb9a6
HBASE-24721: rename_rsgroup overwriting the existing rsgroup
...
Closes #2066
Co-authored-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-15 18:42:38 +05:30
Bharath Vissapragada
d889c7b442
HBASE-24480: Deflake TestRSGroupsBasics#testClearDeadServers ( #1821 )
...
More details about the flakiness in the jira comments.
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-01 09:11:27 -07:00
wenbang
136414dd72
HBASE-24453 [BackPort-HBASE-20220] Check if table exists in the cluster before moving it to the specified regionserver group
...
Co-authored-by: wenbang <wenbang@didiglobal.com>
Signed-off-by: Reid Chan <reidchan@apache.org>
2020-05-29 11:39:42 +08:00
Reid Chan
29c24e7257
HBASE-24345 [ACL] renameRSGroup should require Admin level permission ( #1689 )
2020-05-11 14:50:21 +08:00
Reid Chan
0d8683507b
HBASE-24112 [RSGroup] Support renaming rsgroup ( #1467 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-04-15 19:20:14 +08:00
Reid Chan
1f88e0d9a2
HBASE-24032 [Addendum] use equals instead of ==
2020-03-24 14:57:58 +08:00
Reid Chan
3b8576e6d2
HBASE-24032 [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations ( #1318 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
2020-03-24 13:37:37 +08:00
syedmurtazahassan
cbb9614433
HBASE-22702 [Log] 'Group not found for table' is chatty
...
Signed-off-by Reid Chan <reidchan@apache.org>
2019-07-25 23:22:11 +08:00
Sakthi
e058ffe4e8
HBASE-22535 TestShellRSGroups fails when run on JDK11
...
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit dd99ea8d14
)
2019-06-04 10:37:37 -05:00
Andrew Purtell
1ad5a08ebb
HBASE-22377 Provide API to check the existence of a namespace which does not require ADMIN permissions ( #225 )
...
Signed-off-by: Xu Cang <xucang@apache.org>
2019-05-14 13:34:15 -07:00
Thiruvel Thirumoolan
36b4c0fc6f
HBASE-21883 Enhancements to Major Compaction tool
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-30 17:29:19 -07:00
Xiang Li
b9feefbff6
HBASE-22009 Improve RSGroupInfoManagerImpl#getDefaultServers()
...
Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-25 00:24:21 -07:00
Xiang LI
d16058e54a
HBASE-22051 Expect values are hard-coded in the verifications of TestRSGroupsBasics
...
Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-21 13:49:25 -07:00
Xu Cang
530bd6f570
Revert "HBASE-22009 Improve RSGroupInfoManagerImpl#getDefaultServers()"
...
This reverts commit 73f138c302
.
2019-03-19 15:32:28 -07:00
Xiang Li
73f138c302
HBASE-22009 Improve RSGroupInfoManagerImpl#getDefaultServers()
...
Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-18 11:36:56 -07:00
Xiang Li
6bbf363b6c
HBASE-21987 Simplify RSGroupInfoManagerImpl#flushConfig() for offline mode
...
Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-11 14:12:05 -07:00
Xiang LI
77a7e707ca
HBASE-21969 Improve the update of destination rsgroup of RSGroupInfoManagerImpl#moveTables()
2019-02-28 22:18:21 -08:00
Xiang Li
ed6939f94a
HBASE-21866 Do not move the table to null rsgroup when creating an existing table
2019-02-18 10:56:31 -08:00
Ben Lau
68c9396685
HBASE-21439 RegionLoads aren't being used in RegionLoad cost functions
...
Amend HBASE-21439 Update RSGroup Test too
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>
2018-11-08 14:21:51 -08:00
tedyu
cbc2876ac2
HBASE-21272 Re-add assertions for RS Group admin tests
2018-10-05 21:34:46 -07:00
Andrew Purtell
ae606c3d7a
HBASE-21265 Split up TestRSGroups
...
Signed-off-by: Ted Yu <tyu@apache.org>
2018-10-04 14:13:38 -07:00
Andrew Purtell
113554ded3
HBASE-21261 Add log4j.properties for hbase-rsgroup tests
2018-10-01 18:09:40 -07:00
Xu Cang
baeeaa1b21
HBASE-21117 fix table locking when moveTables, fix HBASE-20666 rsgroups issue
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-10-01 16:58:29 -07:00
tedyu
50ae53c536
HBASE-21258 Add resetting of flags for RS Group pre/post hooks in TestRSGroups
...
Amending-Author: Andrew Purtell <apurtell@apache.org>
2018-10-01 16:45:44 -07:00
Andrew Purtell
81bd854f77
Revert "HBASE-21258 Add resetting of flags for RS Group pre/post hooks in TestRSGroups"
...
This reverts commit a8f0f1d95a
.
2018-10-01 16:24:20 -07:00
tedyu
a8f0f1d95a
HBASE-21258 Add resetting of flags for RS Group pre/post hooks in TestRSGroups
2018-10-01 15:09:01 -07:00
Kiran Kumar Maturi
121fad31ce
HBASE-20857 balancer status tag in jmx metrics
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-28 16:04:49 -07:00
Andrew Purtell
d6d1efd89d
HBASE-20840 Backport HBASE-20791 'RSGroupBasedLoadBalancer#setClusterMetrics should pass ClusterMetrics to its internalBalancer' to branch-1 (chenxu)
2018-07-05 16:12:13 -07:00
Thiruvel Thirumoolan
b892be7440
HBASE-20548 Master fails to startup on large clusters, refreshing block distribution
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-05-24 12:27:19 -07:00
tedyu
7553334d28
HBASE-20627 Relocate RS Group pre/post hooks from RSGroupAdminServer to RSGroupAdminEndpoint
2018-05-23 18:39:55 -07:00
Andrew Purtell
498f3bf953
HBASE-20595 Remove the concept of 'special tables' from rsgroups
2018-05-23 10:50:29 -07:00
Yechao Chen
8e92b3f458
HBASE-20500 [rsgroup] should keep at least one server in default group
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
Amending-Author: Andrew Purtell <apurtell@apache.org>
2018-05-16 18:04:51 -07:00
Xiang LI
764798d996
HBASE-20186 Improve RSGroupBasedLoadBalancer#balanceCluster() to be more efficient when calculating cluster state for each rsgroup
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
Conflicts:
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java
2018-03-16 18:00:52 -07:00
dbist13
7b5af225e5
HBASE-20104 Fix infinite loop of RIT when creating table on a rsgroup that has no online servers - revert due to TestRSGroups failing
2018-03-13 14:09:45 -07:00
haxiaolin
1fbe4deb01
HBASE-20104 Fix infinite loop of RIT when creating table on a rsgroup that has no online servers
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-03-01 08:35:45 -08:00
Apekshit Sharma
c4401b6073
HBASE-19400 Add missing security checks in MasterRpcServices
...
- Added ADMIN permission check for following rpc calls:
normalize, setNormalizerRunning, runCatalogScan, enableCatalogJanitor, runCleanerChore,
setCleanerChoreRunning, execMasterService, execProcedure, execProcedureWithRet
- Moved authorizationEnabled check to start of AccessChecker's functions. Currently, and IDK why,
we call authManager.authorize() first and then discard its result if authorizationEnabled is false. Weird.
----
HBASE-19401 Add missing security checks in RSRpcServices
2018-02-28 11:52:16 -08:00
Andrew Purtell
1be9a3d641
HBASE-20087 Periodically attempt redeploy of regions in FAILED_OPEN state
...
Signed-off-by: Josh Elser <elserj@apache.org>
2018-02-27 17:11:44 -08:00
tedyu
d5436d7904
HBASE-19949 TestRSGroupsWithACL fails with ExceptionInInitializerError
2018-02-09 15:22:50 -08:00
haxiaolin
1911461a56
HBASE-19937 Ensure createRSGroupTable be called after ProcedureExecutor and LoadBalancer are initialized
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
Amending-Author: Andrew Purtell <apurtell@apache.org>
Conflicts:
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
2018-02-09 15:14:56 -08:00
Xiang LI
3aaafd7dd3
HBASE-19917 Improve RSGroupBasedLoadBalancer#filterServers() to be more efficient
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-02-04 20:04:48 -08:00
Andrew Purtell
3601bd2958
HBASE-19757 System table gets stuck after enabling region server group feature in secure cluster
...
HBASE-19757 System table gets stuck after enabling region server group feature in secure cluster - addendum removes unused import
Amending-Author: Andrew Purtell <apurtell@apache.org>
2018-01-23 18:40:43 -08:00
tedyu
6f29a39d76
HBASE-19752 RSGroupBasedLoadBalancer#getMisplacedRegions() should handle the case where rs group cannot be determined
2018-01-12 12:57:55 -08:00
Guangxu Cheng
6f1dd258b1
HBASE-19483 Add proper privilege check for rsgroup commands
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-01-10 02:25:47 -08:00
Andrew Purtell
dfd4df6d8f
HBASE-19509 RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException
2017-12-15 16:15:47 -08:00
Abhishek Singh Chouhan
2cab98f6be
HBASE-19440 Not able to enable balancer with RSGroups once disabled
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-12-06 14:18:44 -08:00
Guangxu Cheng
6938720c12
HBASE-19326 Remove decommissioned servers from rsgroup
...
Signed-off-by: Michael Stack <stack@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>
Conflicts:
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminClient.java
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroups.java
hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.java
hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MasterObserver.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterCoprocessorHost.java
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
hbase-shell/src/main/ruby/hbase/rsgroup_admin.rb
2017-12-01 12:15:43 -08:00
Guangxu Cheng
de16690b7a
HBASE-19325 Pass a list of server name to postClearDeadServers
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-11-28 02:39:55 +08:00
Andrew Purtell
e95f94a72d
HBASE-19239 Fix findbugs and error-prone issues
...
Fixes for hbase-rsgroup
2017-11-17 17:12:36 -08:00
Andrew Purtell
c5e60d16b4
HBASE-19194 TestRSGroupsBase has some always false checks
2017-11-07 17:14:03 -08:00