Package org.apache.hadoop.hbase.rsgroup
Class VerifyingRSGroupAdminClient
java.lang.Object
org.apache.hadoop.hbase.rsgroup.VerifyingRSGroupAdminClient
- All Implemented Interfaces:
org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
@Private
public class VerifyingRSGroupAdminClient
extends Object
implements org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVerifyingRSGroupAdminClient(org.apache.hadoop.hbase.rsgroup.RSGroupAdmin RSGroupAdmin, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRSGroup(String groupName) org.apache.hadoop.hbase.client.BalanceResponsebalanceRSGroup(String groupName, org.apache.hadoop.hbase.client.BalanceRequest request) org.apache.hadoop.hbase.rsgroup.RSGroupInfogetRSGroupInfo(String groupName) org.apache.hadoop.hbase.rsgroup.RSGroupInfogetRSGroupInfoOfTable(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.rsgroup.RSGroupInfogetRSGroupOfServer(org.apache.hadoop.hbase.net.Address hostPort) List<org.apache.hadoop.hbase.rsgroup.RSGroupInfo>voidmoveServers(Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) voidmoveServersAndTables(Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) voidmoveTables(Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) voidremoveRSGroup(String name) voidremoveServers(Set<org.apache.hadoop.hbase.net.Address> servers) voidrenameRSGroup(String oldName, String newName) voidupdateConfiguration(String groupName) voidupdateRSGroupConfig(String groupName, Map<String, String> configuration) voidverify()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
balanceRSGroup
-
Field Details
-
table
-
zkw
-
wrapped
-
-
Constructor Details
-
VerifyingRSGroupAdminClient
public VerifyingRSGroupAdminClient(org.apache.hadoop.hbase.rsgroup.RSGroupAdmin RSGroupAdmin, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
-
Method Details
-
addRSGroup
- Specified by:
addRSGroupin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
getRSGroupInfo
public org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupInfo(String groupName) throws IOException - Specified by:
getRSGroupInfoin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
getRSGroupInfoOfTable
public org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupInfoOfTable(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getRSGroupInfoOfTablein interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
moveServers
public void moveServers(Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException - Specified by:
moveServersin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
moveTables
public void moveTables(Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException - Specified by:
moveTablesin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
removeRSGroup
- Specified by:
removeRSGroupin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
balanceRSGroup
public org.apache.hadoop.hbase.client.BalanceResponse balanceRSGroup(String groupName, org.apache.hadoop.hbase.client.BalanceRequest request) throws IOException - Specified by:
balanceRSGroupin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
listRSGroups
- Specified by:
listRSGroupsin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
getRSGroupOfServer
public org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupOfServer(org.apache.hadoop.hbase.net.Address hostPort) throws IOException - Specified by:
getRSGroupOfServerin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
moveServersAndTables
public void moveServersAndTables(Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException - Specified by:
moveServersAndTablesin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
removeServers
- Specified by:
removeServersin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
renameRSGroup
- Specified by:
renameRSGroupin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
updateRSGroupConfig
public void updateRSGroupConfig(String groupName, Map<String, String> configuration) throws IOException- Specified by:
updateRSGroupConfigin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
updateConfiguration
- Specified by:
updateConfigurationin interfaceorg.apache.hadoop.hbase.rsgroup.RSGroupAdmin- Throws:
IOException
-
verify
- Throws:
IOException
-