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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionVerifyingRSGroupAdminClient(org.apache.hadoop.hbase.rsgroup.RSGroupAdmin RSGroupAdmin, org.apache.hadoop.conf.Configuration conf) 
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminbalanceRSGroup
- 
Field Details- 
table
- 
zkw
- 
wrapped
 
- 
- 
Constructor Details- 
VerifyingRSGroupAdminClientpublic VerifyingRSGroupAdminClient(org.apache.hadoop.hbase.rsgroup.RSGroupAdmin RSGroupAdmin, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
- IOException
 
 
- 
- 
Method Details- 
addRSGroup- Specified by:
- addRSGroupin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
getRSGroupInfopublic org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupInfo(String groupName) throws IOException - Specified by:
- getRSGroupInfoin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
getRSGroupInfoOfTablepublic org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupInfoOfTable(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
- getRSGroupInfoOfTablein interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
moveServerspublic void moveServers(Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException - Specified by:
- moveServersin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
moveTablespublic void moveTables(Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException - Specified by:
- moveTablesin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
removeRSGroup- Specified by:
- removeRSGroupin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
balanceRSGrouppublic org.apache.hadoop.hbase.client.BalanceResponse balanceRSGroup(String groupName, org.apache.hadoop.hbase.client.BalanceRequest request) throws IOException - Specified by:
- balanceRSGroupin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
listRSGroups- Specified by:
- listRSGroupsin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
getRSGroupOfServerpublic org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupOfServer(org.apache.hadoop.hbase.net.Address hostPort) throws IOException - Specified by:
- getRSGroupOfServerin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
moveServersAndTablespublic void moveServersAndTables(Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException - Specified by:
- moveServersAndTablesin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
removeServers- Specified by:
- removeServersin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
renameRSGroup- Specified by:
- renameRSGroupin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
updateRSGroupConfigpublic void updateRSGroupConfig(String groupName, Map<String, String> configuration) throws IOException- Specified by:
- updateRSGroupConfigin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
updateConfiguration- Specified by:
- updateConfigurationin interface- org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
- Throws:
- IOException
 
- 
verify- Throws:
- IOException
 
 
-