@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) |
org.apache.hadoop.hbase.client.BalanceResponse |
balanceRSGroup(String groupName,
org.apache.hadoop.hbase.client.BalanceRequest request) |
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 |
updateConfiguration(String groupName) |
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
IOException
public void addRSGroup(String groupName) throws IOException
addRSGroup
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupInfo(String groupName) throws IOException
getRSGroupInfo
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupInfoOfTable(org.apache.hadoop.hbase.TableName tableName) throws IOException
getRSGroupInfoOfTable
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public void moveServers(Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException
moveServers
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public void moveTables(Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
moveTables
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public void removeRSGroup(String name) throws IOException
removeRSGroup
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public org.apache.hadoop.hbase.client.BalanceResponse balanceRSGroup(String groupName, org.apache.hadoop.hbase.client.BalanceRequest request) throws IOException
balanceRSGroup
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public List<org.apache.hadoop.hbase.rsgroup.RSGroupInfo> listRSGroups() throws IOException
listRSGroups
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroupOfServer(org.apache.hadoop.hbase.net.Address hostPort) throws IOException
getRSGroupOfServer
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public 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.RSGroupAdmin
IOException
public void removeServers(Set<org.apache.hadoop.hbase.net.Address> servers) throws IOException
removeServers
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public void renameRSGroup(String oldName, String newName) throws IOException
renameRSGroup
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public void updateRSGroupConfig(String groupName, Map<String,String> configuration) throws IOException
updateRSGroupConfig
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public void updateConfiguration(String groupName) throws IOException
updateConfiguration
in interface org.apache.hadoop.hbase.rsgroup.RSGroupAdmin
IOException
public void verify() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.