@InterfaceAudience.Private public class VerifyingRSGroupAdminClient extends Object implements org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.client.Table |
table |
private org.apache.hadoop.hbase.rsgroup.RSGroupAdmin |
wrapped |
private org.apache.hadoop.hbase.zookeeper.ZKWatcher |
zkw |
| Constructor and Description |
|---|
VerifyingRSGroupAdminClient(org.apache.hadoop.hbase.rsgroup.RSGroupAdmin RSGroupAdmin,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRSGroup(String groupName) |
boolean |
balanceRSGroup(String groupName) |
org.apache.hadoop.hbase.rsgroup.RSGroupInfo |
getRSGroupInfo(String groupName) |
org.apache.hadoop.hbase.rsgroup.RSGroupInfo |
getRSGroupInfoOfTable(org.apache.hadoop.hbase.TableName tableName) |
org.apache.hadoop.hbase.rsgroup.RSGroupInfo |
getRSGroupOfServer(org.apache.hadoop.hbase.net.Address hostPort) |
List<org.apache.hadoop.hbase.rsgroup.RSGroupInfo> |
listRSGroups() |
void |
moveServers(Set<org.apache.hadoop.hbase.net.Address> servers,
String targetGroup) |
void |
moveServersAndTables(Set<org.apache.hadoop.hbase.net.Address> servers,
Set<org.apache.hadoop.hbase.TableName> tables,
String targetGroup) |
void |
moveTables(Set<org.apache.hadoop.hbase.TableName> tables,
String targetGroup) |
void |
removeRSGroup(String name) |
void |
removeServers(Set<org.apache.hadoop.hbase.net.Address> servers) |
void |
renameRSGroup(String oldName,
String newName) |
void |
updateRSGroupConfig(String groupName,
Map<String,String> configuration) |
void |
verify() |
private org.apache.hadoop.hbase.client.Table table
private org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw
private org.apache.hadoop.hbase.rsgroup.RSGroupAdmin wrapped
public VerifyingRSGroupAdminClient(org.apache.hadoop.hbase.rsgroup.RSGroupAdmin RSGroupAdmin, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic void addRSGroup(String groupName) throws IOException
addRSGroup in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupInfo(String groupName) throws IOException
getRSGroupInfo in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupInfoOfTable(org.apache.hadoop.hbase.TableName tableName) throws IOException
getRSGroupInfoOfTable in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic void moveServers(Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException
moveServers in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic void moveTables(Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
moveTables in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic void removeRSGroup(String name) throws IOException
removeRSGroup in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic boolean balanceRSGroup(String groupName) throws IOException
balanceRSGroup in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic List<org.apache.hadoop.hbase.rsgroup.RSGroupInfo> listRSGroups() throws IOException
listRSGroups in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupOfServer(org.apache.hadoop.hbase.net.Address hostPort) throws IOException
getRSGroupOfServer in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic void moveServersAndTables(Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
moveServersAndTables in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic void removeServers(Set<org.apache.hadoop.hbase.net.Address> servers) throws IOException
removeServers in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic void renameRSGroup(String oldName, String newName) throws IOException
renameRSGroup in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic void updateRSGroupConfig(String groupName, Map<String,String> configuration) throws IOException
updateRSGroupConfig in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdminIOExceptionpublic void verify() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.