Package org.apache.hadoop.hbase.rsgroup
Class VerifyingRSGroupAdmin
java.lang.Object
org.apache.hadoop.hbase.rsgroup.VerifyingRSGroupAdmin
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.hbase.Abortable,org.apache.hadoop.hbase.client.Admin
@Private
public class VerifyingRSGroupAdmin
extends Object
implements org.apache.hadoop.hbase.client.Admin, Closeable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabortProcedureAsync(long procId, boolean mayInterruptIfRunning) addColumnFamilyAsync(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) addReplicationPeerAsync(String peerId, org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig, boolean enabled) voidaddRSGroup(String groupName) voidassign(byte[] regionName) org.apache.hadoop.hbase.client.BalanceResponsebalance(org.apache.hadoop.hbase.client.BalanceRequest request) org.apache.hadoop.hbase.client.BalanceResponsebalanceRSGroup(String groupName, org.apache.hadoop.hbase.client.BalanceRequest request) booleanbalancerSwitch(boolean onOrOff, boolean synchronous) booleancatalogJanitorSwitch(boolean onOrOff) booleancleanerChoreSwitch(boolean onOrOff) org.apache.hadoop.hbase.CacheEvictionStatsclearBlockCache(org.apache.hadoop.hbase.TableName tableName) voidclearCompactionQueues(org.apache.hadoop.hbase.ServerName serverName, Set<String> queues) List<org.apache.hadoop.hbase.ServerName>clearDeadServers(List<org.apache.hadoop.hbase.ServerName> servers) clearSlowLogResponses(Set<org.apache.hadoop.hbase.ServerName> serverNames) cloneSnapshotAsync(String snapshotName, org.apache.hadoop.hbase.TableName tableName, boolean restoreAcl, String customSFT) voidcloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) voidclose()voidcompact(org.apache.hadoop.hbase.TableName tableName) voidcompact(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily) voidcompact(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily, org.apache.hadoop.hbase.client.CompactType compactType) voidcompact(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.CompactType compactType) compactionSwitch(boolean switchState, List<String> serverNamesList) voidcompactRegion(byte[] regionName) voidcompactRegion(byte[] regionName, byte[] columnFamily) voidcompactRegionServer(org.apache.hadoop.hbase.ServerName serverName) org.apache.hadoop.hbase.ipc.CoprocessorRpcChannelorg.apache.hadoop.hbase.ipc.CoprocessorRpcChannelcoprocessorService(org.apache.hadoop.hbase.ServerName serverName) createNamespaceAsync(org.apache.hadoop.hbase.NamespaceDescriptor descriptor) voidcreateTable(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[] startKey, byte[] endKey, int numRegions) createTableAsync(org.apache.hadoop.hbase.client.TableDescriptor desc) createTableAsync(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[][] splitKeys) voiddecommissionRegionServers(List<org.apache.hadoop.hbase.ServerName> servers, boolean offload) deleteColumnFamilyAsync(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily) deleteNamespaceAsync(String name) voiddeleteSnapshot(String snapshotName) voiddeleteSnapshots(Pattern pattern) deleteTableAsync(org.apache.hadoop.hbase.TableName tableName) voiddeleteTableSnapshots(Pattern tableNamePattern, Pattern snapshotNamePattern) disableReplicationPeerAsync(String peerId) disableTableAsync(org.apache.hadoop.hbase.TableName tableName) voiddisableTableReplication(org.apache.hadoop.hbase.TableName tableName) enableReplicationPeerAsync(String peerId) enableTableAsync(org.apache.hadoop.hbase.TableName tableName) voidenableTableReplication(org.apache.hadoop.hbase.TableName tableName) booleanexceedThrottleQuotaSwitch(boolean enable) voidbyte[]voidflush(org.apache.hadoop.hbase.TableName tableName) voidflush(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily) voidvoidvoidflushRegion(byte[] regionName) voidflushRegion(byte[] regionName, byte[] columnFamily) voidflushRegionServer(org.apache.hadoop.hbase.ServerName serverName) getCachedFilesList(org.apache.hadoop.hbase.ServerName serverName) org.apache.hadoop.hbase.ClusterMetricsgetClusterMetrics(EnumSet<org.apache.hadoop.hbase.ClusterMetrics.Option> options) org.apache.hadoop.hbase.client.CompactionStategetCompactionState(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.client.CompactionStategetCompactionState(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.CompactType compactType) org.apache.hadoop.hbase.client.CompactionStategetCompactionStateForRegion(byte[] regionName) org.apache.hadoop.conf.ConfigurationgetConfiguredNamespacesAndTablesInRSGroup(String groupName) org.apache.hadoop.hbase.client.Connectionorg.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotViewgetCurrentSpaceQuotaSnapshot(String namespace) org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotViewgetCurrentSpaceQuotaSnapshot(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.client.TableDescriptorgetDescriptor(org.apache.hadoop.hbase.TableName tableName) longgetLastMajorCompactionTimestamp(org.apache.hadoop.hbase.TableName tableName) longgetLastMajorCompactionTimestampForRegion(byte[] regionName) getLocks()List<org.apache.hadoop.hbase.client.LogEntry>getLogEntries(Set<org.apache.hadoop.hbase.ServerName> serverNames, String logType, org.apache.hadoop.hbase.client.ServerType serverType, int limit, Map<String, Object> filterParams) org.apache.hadoop.hbase.NamespaceDescriptorgetNamespaceDescriptor(String name) intList<org.apache.hadoop.hbase.quotas.QuotaSettings>getQuota(org.apache.hadoop.hbase.quotas.QuotaFilter filter) List<org.apache.hadoop.hbase.RegionMetrics>getRegionMetrics(org.apache.hadoop.hbase.ServerName serverName) List<org.apache.hadoop.hbase.RegionMetrics>getRegionMetrics(org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.TableName tableName) List<org.apache.hadoop.hbase.client.RegionInfo>getRegions(org.apache.hadoop.hbase.ServerName serverName) List<org.apache.hadoop.hbase.client.RegionInfo>getRegions(org.apache.hadoop.hbase.TableName tableName) Map<org.apache.hadoop.hbase.TableName,? extends org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotView> getRegionServerSpaceQuotaSnapshots(org.apache.hadoop.hbase.ServerName serverName) org.apache.hadoop.hbase.replication.ReplicationPeerConfiggetReplicationPeerConfig(String peerId) org.apache.hadoop.hbase.rsgroup.RSGroupInfogetRSGroup(String groupName) org.apache.hadoop.hbase.rsgroup.RSGroupInfogetRSGroup(org.apache.hadoop.hbase.net.Address hostPort) org.apache.hadoop.hbase.rsgroup.RSGroupInfogetRSGroup(org.apache.hadoop.hbase.TableName tableName) List<org.apache.hadoop.hbase.client.security.SecurityCapability>intList<org.apache.hadoop.hbase.security.access.UserPermission>getUserPermissions(org.apache.hadoop.hbase.security.access.GetUserPermissionsRequest getUserPermissionsRequest) voidgrant(org.apache.hadoop.hbase.security.access.UserPermission userPermission, boolean mergeExistingPermissions) hasUserPermissions(String userName, List<org.apache.hadoop.hbase.security.access.Permission> permissions) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisReplicationPeerEnabled(String peerId) booleanbooleanbooleanbooleanisSnapshotFinished(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) booleanbooleanisTableAvailable(org.apache.hadoop.hbase.TableName tableName) booleanisTableDisabled(org.apache.hadoop.hbase.TableName tableName) booleanisTableEnabled(org.apache.hadoop.hbase.TableName tableName) List<org.apache.hadoop.hbase.ServerName>org.apache.hadoop.hbase.NamespaceDescriptor[]String[]List<org.apache.hadoop.hbase.client.replication.TableCFs>List<org.apache.hadoop.hbase.replication.ReplicationPeerDescription>List<org.apache.hadoop.hbase.replication.ReplicationPeerDescription>listReplicationPeers(Pattern pattern) List<org.apache.hadoop.hbase.rsgroup.RSGroupInfo>List<org.apache.hadoop.hbase.client.SnapshotDescription>List<org.apache.hadoop.hbase.client.SnapshotDescription>listSnapshots(Pattern pattern) List<org.apache.hadoop.hbase.client.TableDescriptor>List<org.apache.hadoop.hbase.client.TableDescriptor>listTableDescriptors(boolean includeSysTables) List<org.apache.hadoop.hbase.client.TableDescriptor>listTableDescriptors(List<org.apache.hadoop.hbase.TableName> tableNames) List<org.apache.hadoop.hbase.client.TableDescriptor>listTableDescriptors(Pattern pattern, boolean includeSysTables) List<org.apache.hadoop.hbase.client.TableDescriptor>listTableDescriptorsByNamespace(byte[] name) List<org.apache.hadoop.hbase.client.TableDescriptor>listTableDescriptorsByState(boolean isEnabled) org.apache.hadoop.hbase.TableName[]org.apache.hadoop.hbase.TableName[]listTableNames(Pattern pattern, boolean includeSysTables) org.apache.hadoop.hbase.TableName[]List<org.apache.hadoop.hbase.TableName>listTableNamesByState(boolean isEnabled) List<org.apache.hadoop.hbase.TableName>listTablesInRSGroup(String groupName) List<org.apache.hadoop.hbase.client.SnapshotDescription>listTableSnapshots(Pattern tableNamePattern, Pattern snapshotNamePattern) voidmajorCompact(org.apache.hadoop.hbase.TableName tableName) voidmajorCompact(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily) voidmajorCompact(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily, org.apache.hadoop.hbase.client.CompactType compactType) voidmajorCompact(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.CompactType compactType) voidmajorCompactRegion(byte[] regionName) voidmajorCompactRegion(byte[] regionName, byte[] columnFamily) voidmajorCompactRegionServer(org.apache.hadoop.hbase.ServerName serverName) mergeRegionsAsync(byte[][] nameofRegionsToMerge, boolean forcible) booleanmergeSwitch(boolean enabled, boolean synchronous) modifyColumnFamilyAsync(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) modifyColumnFamilyStoreFileTrackerAsync(org.apache.hadoop.hbase.TableName tableName, byte[] family, String dstSFT) modifyNamespaceAsync(org.apache.hadoop.hbase.NamespaceDescriptor descriptor) modifyTableAsync(org.apache.hadoop.hbase.client.TableDescriptor td) modifyTableAsync(org.apache.hadoop.hbase.client.TableDescriptor td, boolean reopenRegions) modifyTableStoreFileTrackerAsync(org.apache.hadoop.hbase.TableName tableName, String dstSFT) voidmove(byte[] encodedRegionName) voidmove(byte[] encodedRegionName, org.apache.hadoop.hbase.ServerName destServerName) voidmoveServersToRSGroup(Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) booleannormalize(org.apache.hadoop.hbase.client.NormalizeTableFilterParams ntfp) booleannormalizerSwitch(boolean on) voidoffline(byte[] regionName) voidrecommissionRegionServer(org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames) removeReplicationPeerAsync(String peerId) voidremoveRSGroup(String groupName) voidremoveServersFromRSGroup(Set<org.apache.hadoop.hbase.net.Address> servers) voidrenameRSGroup(String oldName, String newName) booleanreplicationPeerModificationSwitch(boolean on, boolean drainProcedures) voidrestoreBackupSystemTable(String snapshotName) voidrestoreSnapshot(String snapshotName) voidrestoreSnapshot(String snapshotName, boolean takeFailSafeSnapshot, boolean restoreAcl) voidrevoke(org.apache.hadoop.hbase.security.access.UserPermission userPermission) voidrollWALWriter(org.apache.hadoop.hbase.ServerName serverName) intbooleanvoidsetQuota(org.apache.hadoop.hbase.quotas.QuotaSettings quota) voidsetRSGroup(Set<org.apache.hadoop.hbase.TableName> tables, String groupName) voidshutdown()voidsnapshot(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) snapshotAsync(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) booleansnapshotCleanupSwitch(boolean on, boolean synchronous) voidsplit(org.apache.hadoop.hbase.TableName tableName) voidsplit(org.apache.hadoop.hbase.TableName tableName, byte[] splitPoint) splitRegionAsync(byte[] regionName) splitRegionAsync(byte[] regionName, byte[] splitPoint) booleansplitSwitch(boolean enabled, boolean synchronous) voidvoidstopRegionServer(String hostnamePort) booleanswitchRpcThrottle(boolean enable) booleantableExists(org.apache.hadoop.hbase.TableName tableName) transitReplicationPeerSyncReplicationStateAsync(String peerId, org.apache.hadoop.hbase.replication.SyncReplicationState state) voidtruncateRegion(byte[] regionName) truncateRegionAsync(byte[] regionName) truncateTableAsync(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) voidunassign(byte[] regionName) voidvoidupdateConfiguration(String groupName) voidupdateConfiguration(org.apache.hadoop.hbase.ServerName server) updateReplicationPeerConfigAsync(String peerId, org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig) voidupdateRSGroupConfig(String groupName, Map<String, String> configuration) private 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.Abortable
abortMethods inherited from interface org.apache.hadoop.hbase.client.Admin
abortProcedure, addColumnFamily, addReplicationPeer, addReplicationPeer, addReplicationPeerAsync, appendReplicationPeerTableCFs, balance, balance, balanceRSGroup, cloneSnapshot, cloneSnapshot, cloneSnapshot, cloneSnapshotAsync, cloneSnapshotAsync, createNamespace, createTable, createTable, deleteColumnFamily, deleteNamespace, deleteTable, disableReplicationPeer, disableTable, enableReplicationPeer, enableTable, getBackupMasters, getClusterMetrics, getMaster, getMasterCoprocessorNames, getMasterInfoPort, getRegionServers, getRegionServers, getReplicationPeerSyncReplicationState, getSlowLogResponses, hasUserPermissions, listDeadServers, listTableDescriptors, listTableNames, listUnknownServers, mergeRegionsAsync, modifyColumnFamily, modifyColumnFamilyStoreFileTracker, modifyNamespace, modifyTable, modifyTableStoreFileTracker, move, normalize, removeReplicationPeer, removeReplicationPeerTableCFs, replicationPeerModificationSwitch, restoreSnapshot, snapshot, snapshot, snapshot, snapshot, transitReplicationPeerSyncReplicationState, truncateTable, unassign, updateReplicationPeerConfig
-
Field Details
-
conn
-
admin
-
zkw
-
-
Constructor Details
-
VerifyingRSGroupAdmin
- Throws:
IOException
-
-
Method Details
-
getOperationTimeout
- Specified by:
getOperationTimeoutin interfaceorg.apache.hadoop.hbase.client.Admin
-
getSyncWaitTimeout
- Specified by:
getSyncWaitTimeoutin interfaceorg.apache.hadoop.hbase.client.Admin
-
abort
- Specified by:
abortin interfaceorg.apache.hadoop.hbase.Abortable- Specified by:
abortin interfaceorg.apache.hadoop.hbase.client.Admin
-
isAborted
- Specified by:
isAbortedin interfaceorg.apache.hadoop.hbase.Abortable- Specified by:
isAbortedin interfaceorg.apache.hadoop.hbase.client.Admin
-
getConnection
- Specified by:
getConnectionin interfaceorg.apache.hadoop.hbase.client.Admin
-
tableExists
- Specified by:
tableExistsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableDescriptors
public List<org.apache.hadoop.hbase.client.TableDescriptor> listTableDescriptors() throws IOException- Specified by:
listTableDescriptorsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableDescriptors
public List<org.apache.hadoop.hbase.client.TableDescriptor> listTableDescriptors(boolean includeSysTables) throws IOException - Specified by:
listTableDescriptorsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableDescriptors
public List<org.apache.hadoop.hbase.client.TableDescriptor> listTableDescriptors(Pattern pattern, boolean includeSysTables) throws IOException - Specified by:
listTableDescriptorsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableDescriptorsByState
public List<org.apache.hadoop.hbase.client.TableDescriptor> listTableDescriptorsByState(boolean isEnabled) throws IOException - Specified by:
listTableDescriptorsByStatein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableNames
- Specified by:
listTableNamesin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableNames
public org.apache.hadoop.hbase.TableName[] listTableNames(Pattern pattern, boolean includeSysTables) throws IOException - Specified by:
listTableNamesin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableNamesByState
public List<org.apache.hadoop.hbase.TableName> listTableNamesByState(boolean isEnabled) throws IOException - Specified by:
listTableNamesByStatein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getDescriptor
public org.apache.hadoop.hbase.client.TableDescriptor getDescriptor(org.apache.hadoop.hbase.TableName tableName) throws org.apache.hadoop.hbase.TableNotFoundException, IOException - Specified by:
getDescriptorin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
org.apache.hadoop.hbase.TableNotFoundExceptionIOException
-
createTable
public void createTable(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[] startKey, byte[] endKey, int numRegions) throws IOException - Specified by:
createTablein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
createTableAsync
public Future<Void> createTableAsync(org.apache.hadoop.hbase.client.TableDescriptor desc) throws IOException - Specified by:
createTableAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
createTableAsync
public Future<Void> createTableAsync(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[][] splitKeys) throws IOException - Specified by:
createTableAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
deleteTableAsync
public Future<Void> deleteTableAsync(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
deleteTableAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
truncateTableAsync
public Future<Void> truncateTableAsync(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) throws IOException - Specified by:
truncateTableAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
enableTableAsync
public Future<Void> enableTableAsync(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
enableTableAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
disableTableAsync
public Future<Void> disableTableAsync(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
disableTableAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isTableEnabled
- Specified by:
isTableEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isTableDisabled
- Specified by:
isTableDisabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isTableAvailable
- Specified by:
isTableAvailablein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
addColumnFamilyAsync
public Future<Void> addColumnFamilyAsync(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) throws IOException - Specified by:
addColumnFamilyAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
deleteColumnFamilyAsync
public Future<Void> deleteColumnFamilyAsync(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily) throws IOException - Specified by:
deleteColumnFamilyAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
modifyColumnFamilyAsync
public Future<Void> modifyColumnFamilyAsync(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) throws IOException - Specified by:
modifyColumnFamilyAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getRegions
public List<org.apache.hadoop.hbase.client.RegionInfo> getRegions(org.apache.hadoop.hbase.ServerName serverName) throws IOException - Specified by:
getRegionsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
flush
- Specified by:
flushin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
flush
public void flush(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily) throws IOException - Specified by:
flushin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
flush
public void flush(org.apache.hadoop.hbase.TableName tableName, List<byte[]> columnFamilies) throws IOException - Specified by:
flushin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
flushRegion
- Specified by:
flushRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
flushRegion
- Specified by:
flushRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
flushRegionServer
- Specified by:
flushRegionServerin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
compact
- Specified by:
compactin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
compactRegion
- Specified by:
compactRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
compact
public void compact(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily) throws IOException - Specified by:
compactin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
compactRegion
- Specified by:
compactRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
compact
public void compact(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.CompactType compactType) throws IOException, InterruptedException - Specified by:
compactin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionInterruptedException
-
compact
public void compact(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily, org.apache.hadoop.hbase.client.CompactType compactType) throws IOException, InterruptedException - Specified by:
compactin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionInterruptedException
-
majorCompact
- Specified by:
majorCompactin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
majorCompactRegion
- Specified by:
majorCompactRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
majorCompact
public void majorCompact(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily) throws IOException - Specified by:
majorCompactin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
majorCompactRegion
- Specified by:
majorCompactRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
majorCompact
public void majorCompact(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.CompactType compactType) throws IOException, InterruptedException - Specified by:
majorCompactin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionInterruptedException
-
majorCompact
public void majorCompact(org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily, org.apache.hadoop.hbase.client.CompactType compactType) throws IOException, InterruptedException - Specified by:
majorCompactin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionInterruptedException
-
compactionSwitch
public Map<org.apache.hadoop.hbase.ServerName,Boolean> compactionSwitch(boolean switchState, List<String> serverNamesList) throws IOException - Specified by:
compactionSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
compactRegionServer
- Specified by:
compactRegionServerin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
majorCompactRegionServer
public void majorCompactRegionServer(org.apache.hadoop.hbase.ServerName serverName) throws IOException - Specified by:
majorCompactRegionServerin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
move
- Specified by:
movein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
move
public void move(byte[] encodedRegionName, org.apache.hadoop.hbase.ServerName destServerName) throws IOException - Specified by:
movein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
assign
- Specified by:
assignin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
unassign
- Specified by:
unassignin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
offline
- Specified by:
offlinein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
balancerSwitch
- Specified by:
balancerSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
balance
public org.apache.hadoop.hbase.client.BalanceResponse balance(org.apache.hadoop.hbase.client.BalanceRequest request) throws IOException - Specified by:
balancein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isBalancerEnabled
- Specified by:
isBalancerEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
clearBlockCache
public org.apache.hadoop.hbase.CacheEvictionStats clearBlockCache(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
clearBlockCachein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
normalize
public boolean normalize(org.apache.hadoop.hbase.client.NormalizeTableFilterParams ntfp) throws IOException - Specified by:
normalizein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isNormalizerEnabled
- Specified by:
isNormalizerEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
normalizerSwitch
- Specified by:
normalizerSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
catalogJanitorSwitch
- Specified by:
catalogJanitorSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
runCatalogJanitor
- Specified by:
runCatalogJanitorin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isCatalogJanitorEnabled
- Specified by:
isCatalogJanitorEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
cleanerChoreSwitch
- Specified by:
cleanerChoreSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
runCleanerChore
- Specified by:
runCleanerChorein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isCleanerChoreEnabled
- Specified by:
isCleanerChoreEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
mergeRegionsAsync
public Future<Void> mergeRegionsAsync(byte[][] nameofRegionsToMerge, boolean forcible) throws IOException - Specified by:
mergeRegionsAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
split
- Specified by:
splitin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
split
public void split(org.apache.hadoop.hbase.TableName tableName, byte[] splitPoint) throws IOException - Specified by:
splitin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
splitRegionAsync
- Specified by:
splitRegionAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
splitRegionAsync
- Specified by:
splitRegionAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
truncateRegion
- Specified by:
truncateRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
truncateRegionAsync
- Specified by:
truncateRegionAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
modifyTableAsync
public Future<Void> modifyTableAsync(org.apache.hadoop.hbase.client.TableDescriptor td) throws IOException - Specified by:
modifyTableAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
modifyTableAsync
public Future<Void> modifyTableAsync(org.apache.hadoop.hbase.client.TableDescriptor td, boolean reopenRegions) throws IOException - Specified by:
modifyTableAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
shutdown
- Specified by:
shutdownin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
stopMaster
- Specified by:
stopMasterin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isMasterInMaintenanceMode
- Specified by:
isMasterInMaintenanceModein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
stopRegionServer
- Specified by:
stopRegionServerin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getClusterMetrics
public org.apache.hadoop.hbase.ClusterMetrics getClusterMetrics(EnumSet<org.apache.hadoop.hbase.ClusterMetrics.Option> options) throws IOException - Specified by:
getClusterMetricsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getRegionMetrics
public List<org.apache.hadoop.hbase.RegionMetrics> getRegionMetrics(org.apache.hadoop.hbase.ServerName serverName) throws IOException - Specified by:
getRegionMetricsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getRegionMetrics
public List<org.apache.hadoop.hbase.RegionMetrics> getRegionMetrics(org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getRegionMetricsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getConfiguration
- Specified by:
getConfigurationin interfaceorg.apache.hadoop.hbase.client.Admin
-
createNamespaceAsync
public Future<Void> createNamespaceAsync(org.apache.hadoop.hbase.NamespaceDescriptor descriptor) throws IOException - Specified by:
createNamespaceAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
modifyNamespaceAsync
public Future<Void> modifyNamespaceAsync(org.apache.hadoop.hbase.NamespaceDescriptor descriptor) throws IOException - Specified by:
modifyNamespaceAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
deleteNamespaceAsync
- Specified by:
deleteNamespaceAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getNamespaceDescriptor
public org.apache.hadoop.hbase.NamespaceDescriptor getNamespaceDescriptor(String name) throws org.apache.hadoop.hbase.NamespaceNotFoundException, IOException - Specified by:
getNamespaceDescriptorin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
org.apache.hadoop.hbase.NamespaceNotFoundExceptionIOException
-
listNamespaces
- Specified by:
listNamespacesin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listNamespaceDescriptors
- Specified by:
listNamespaceDescriptorsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableDescriptorsByNamespace
public List<org.apache.hadoop.hbase.client.TableDescriptor> listTableDescriptorsByNamespace(byte[] name) throws IOException - Specified by:
listTableDescriptorsByNamespacein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableNamesByNamespace
public org.apache.hadoop.hbase.TableName[] listTableNamesByNamespace(String name) throws IOException - Specified by:
listTableNamesByNamespacein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getRegions
public List<org.apache.hadoop.hbase.client.RegionInfo> getRegions(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getRegionsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
close
- Specified by:
closein interfaceorg.apache.hadoop.hbase.client.Admin- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
listTableDescriptors
public List<org.apache.hadoop.hbase.client.TableDescriptor> listTableDescriptors(List<org.apache.hadoop.hbase.TableName> tableNames) throws IOException - Specified by:
listTableDescriptorsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
abortProcedureAsync
public Future<Boolean> abortProcedureAsync(long procId, boolean mayInterruptIfRunning) throws IOException - Specified by:
abortProcedureAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getProcedures
- Specified by:
getProceduresin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getLocks
- Specified by:
getLocksin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
rollWALWriter
public void rollWALWriter(org.apache.hadoop.hbase.ServerName serverName) throws IOException, org.apache.hadoop.hbase.regionserver.wal.FailedLogCloseException - Specified by:
rollWALWriterin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionorg.apache.hadoop.hbase.regionserver.wal.FailedLogCloseException
-
rollAllWALWriters
- Specified by:
rollAllWALWritersin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getCompactionState
public org.apache.hadoop.hbase.client.CompactionState getCompactionState(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getCompactionStatein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getCompactionState
public org.apache.hadoop.hbase.client.CompactionState getCompactionState(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.CompactType compactType) throws IOException - Specified by:
getCompactionStatein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getCompactionStateForRegion
public org.apache.hadoop.hbase.client.CompactionState getCompactionStateForRegion(byte[] regionName) throws IOException - Specified by:
getCompactionStateForRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getLastMajorCompactionTimestamp
public long getLastMajorCompactionTimestamp(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getLastMajorCompactionTimestampin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getLastMajorCompactionTimestampForRegion
- Specified by:
getLastMajorCompactionTimestampForRegionin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
snapshot
public void snapshot(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException, org.apache.hadoop.hbase.snapshot.SnapshotCreationException, IllegalArgumentException - Specified by:
snapshotin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionorg.apache.hadoop.hbase.snapshot.SnapshotCreationExceptionIllegalArgumentException
-
snapshotAsync
public Future<Void> snapshotAsync(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException, org.apache.hadoop.hbase.snapshot.SnapshotCreationException - Specified by:
snapshotAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionorg.apache.hadoop.hbase.snapshot.SnapshotCreationException
-
isSnapshotFinished
public boolean isSnapshotFinished(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException, org.apache.hadoop.hbase.snapshot.HBaseSnapshotException, org.apache.hadoop.hbase.snapshot.UnknownSnapshotException - Specified by:
isSnapshotFinishedin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionorg.apache.hadoop.hbase.snapshot.HBaseSnapshotExceptionorg.apache.hadoop.hbase.snapshot.UnknownSnapshotException
-
restoreSnapshot
public void restoreSnapshot(String snapshotName) throws IOException, org.apache.hadoop.hbase.snapshot.RestoreSnapshotException - Specified by:
restoreSnapshotin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionorg.apache.hadoop.hbase.snapshot.RestoreSnapshotException
-
restoreSnapshot
public void restoreSnapshot(String snapshotName, boolean takeFailSafeSnapshot, boolean restoreAcl) throws IOException, org.apache.hadoop.hbase.snapshot.RestoreSnapshotException - Specified by:
restoreSnapshotin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionorg.apache.hadoop.hbase.snapshot.RestoreSnapshotException
-
cloneSnapshotAsync
public Future<Void> cloneSnapshotAsync(String snapshotName, org.apache.hadoop.hbase.TableName tableName, boolean restoreAcl, String customSFT) throws IOException, org.apache.hadoop.hbase.TableExistsException, org.apache.hadoop.hbase.snapshot.RestoreSnapshotException - Specified by:
cloneSnapshotAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionorg.apache.hadoop.hbase.TableExistsExceptionorg.apache.hadoop.hbase.snapshot.RestoreSnapshotException
-
execProcedure
public void execProcedure(String signature, String instance, Map<String, String> props) throws IOException- Specified by:
execProcedurein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
execProcedureWithReturn
public byte[] execProcedureWithReturn(String signature, String instance, Map<String, String> props) throws IOException- Specified by:
execProcedureWithReturnin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isProcedureFinished
public boolean isProcedureFinished(String signature, String instance, Map<String, String> props) throws IOException- Specified by:
isProcedureFinishedin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listSnapshots
- Specified by:
listSnapshotsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listSnapshots
public List<org.apache.hadoop.hbase.client.SnapshotDescription> listSnapshots(Pattern pattern) throws IOException - Specified by:
listSnapshotsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTableSnapshots
public List<org.apache.hadoop.hbase.client.SnapshotDescription> listTableSnapshots(Pattern tableNamePattern, Pattern snapshotNamePattern) throws IOException - Specified by:
listTableSnapshotsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
deleteSnapshot
- Specified by:
deleteSnapshotin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
deleteSnapshots
- Specified by:
deleteSnapshotsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
deleteTableSnapshots
public void deleteTableSnapshots(Pattern tableNamePattern, Pattern snapshotNamePattern) throws IOException - Specified by:
deleteTableSnapshotsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
setQuota
- Specified by:
setQuotain interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getQuota
public List<org.apache.hadoop.hbase.quotas.QuotaSettings> getQuota(org.apache.hadoop.hbase.quotas.QuotaFilter filter) throws IOException - Specified by:
getQuotain interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
coprocessorService
- Specified by:
coprocessorServicein interfaceorg.apache.hadoop.hbase.client.Admin
-
coprocessorService
public org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel coprocessorService(org.apache.hadoop.hbase.ServerName serverName) - Specified by:
coprocessorServicein interfaceorg.apache.hadoop.hbase.client.Admin
-
updateConfiguration
- Specified by:
updateConfigurationin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
updateConfiguration
- Specified by:
updateConfigurationin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
updateConfiguration
- Specified by:
updateConfigurationin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getSecurityCapabilities
public List<org.apache.hadoop.hbase.client.security.SecurityCapability> getSecurityCapabilities() throws IOException- Specified by:
getSecurityCapabilitiesin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
splitSwitch
- Specified by:
splitSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
mergeSwitch
- Specified by:
mergeSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isSplitEnabled
- Specified by:
isSplitEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isMergeEnabled
- Specified by:
isMergeEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
addReplicationPeerAsync
public Future<Void> addReplicationPeerAsync(String peerId, org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig, boolean enabled) throws IOException - Specified by:
addReplicationPeerAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
removeReplicationPeerAsync
- Specified by:
removeReplicationPeerAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
enableReplicationPeerAsync
- Specified by:
enableReplicationPeerAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
disableReplicationPeerAsync
- Specified by:
disableReplicationPeerAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getReplicationPeerConfig
public org.apache.hadoop.hbase.replication.ReplicationPeerConfig getReplicationPeerConfig(String peerId) throws IOException - Specified by:
getReplicationPeerConfigin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
updateReplicationPeerConfigAsync
public Future<Void> updateReplicationPeerConfigAsync(String peerId, org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig) throws IOException - Specified by:
updateReplicationPeerConfigAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listReplicationPeers
public List<org.apache.hadoop.hbase.replication.ReplicationPeerDescription> listReplicationPeers() throws IOException- Specified by:
listReplicationPeersin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listReplicationPeers
public List<org.apache.hadoop.hbase.replication.ReplicationPeerDescription> listReplicationPeers(Pattern pattern) throws IOException - Specified by:
listReplicationPeersin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
transitReplicationPeerSyncReplicationStateAsync
public Future<Void> transitReplicationPeerSyncReplicationStateAsync(String peerId, org.apache.hadoop.hbase.replication.SyncReplicationState state) throws IOException - Specified by:
transitReplicationPeerSyncReplicationStateAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isReplicationPeerEnabled
- Specified by:
isReplicationPeerEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
decommissionRegionServers
public void decommissionRegionServers(List<org.apache.hadoop.hbase.ServerName> servers, boolean offload) throws IOException - Specified by:
decommissionRegionServersin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listDecommissionedRegionServers
public List<org.apache.hadoop.hbase.ServerName> listDecommissionedRegionServers() throws IOException- Specified by:
listDecommissionedRegionServersin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
recommissionRegionServer
public void recommissionRegionServer(org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames) throws IOException - Specified by:
recommissionRegionServerin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listReplicatedTableCFs
public List<org.apache.hadoop.hbase.client.replication.TableCFs> listReplicatedTableCFs() throws IOException- Specified by:
listReplicatedTableCFsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
enableTableReplication
- Specified by:
enableTableReplicationin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
disableTableReplication
- Specified by:
disableTableReplicationin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
clearCompactionQueues
public void clearCompactionQueues(org.apache.hadoop.hbase.ServerName serverName, Set<String> queues) throws IOException, InterruptedException - Specified by:
clearCompactionQueuesin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOExceptionInterruptedException
-
clearDeadServers
public List<org.apache.hadoop.hbase.ServerName> clearDeadServers(List<org.apache.hadoop.hbase.ServerName> servers) throws IOException - Specified by:
clearDeadServersin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
cloneTableSchema
public void cloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) throws IOException - Specified by:
cloneTableSchemain interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
switchRpcThrottle
- Specified by:
switchRpcThrottlein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isRpcThrottleEnabled
- Specified by:
isRpcThrottleEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
exceedThrottleQuotaSwitch
- Specified by:
exceedThrottleQuotaSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getSpaceQuotaTableSizes
- Specified by:
getSpaceQuotaTableSizesin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getRegionServerSpaceQuotaSnapshots
public Map<org.apache.hadoop.hbase.TableName,? extends org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotView> getRegionServerSpaceQuotaSnapshots(org.apache.hadoop.hbase.ServerName serverName) throws IOException - Specified by:
getRegionServerSpaceQuotaSnapshotsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getCurrentSpaceQuotaSnapshot
public org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotView getCurrentSpaceQuotaSnapshot(String namespace) throws IOException - Specified by:
getCurrentSpaceQuotaSnapshotin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getCurrentSpaceQuotaSnapshot
public org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotView getCurrentSpaceQuotaSnapshot(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getCurrentSpaceQuotaSnapshotin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
grant
public void grant(org.apache.hadoop.hbase.security.access.UserPermission userPermission, boolean mergeExistingPermissions) throws IOException - Specified by:
grantin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
revoke
public void revoke(org.apache.hadoop.hbase.security.access.UserPermission userPermission) throws IOException - Specified by:
revokein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getUserPermissions
public List<org.apache.hadoop.hbase.security.access.UserPermission> getUserPermissions(org.apache.hadoop.hbase.security.access.GetUserPermissionsRequest getUserPermissionsRequest) throws IOException - Specified by:
getUserPermissionsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
hasUserPermissions
public List<Boolean> hasUserPermissions(String userName, List<org.apache.hadoop.hbase.security.access.Permission> permissions) throws IOException - Specified by:
hasUserPermissionsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
snapshotCleanupSwitch
- Specified by:
snapshotCleanupSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isSnapshotCleanupEnabled
- Specified by:
isSnapshotCleanupEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
addRSGroup
- Specified by:
addRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getRSGroup
- Specified by:
getRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getRSGroup
public org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroup(org.apache.hadoop.hbase.net.Address hostPort) throws IOException - Specified by:
getRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getRSGroup
public org.apache.hadoop.hbase.rsgroup.RSGroupInfo getRSGroup(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listRSGroups
- Specified by:
listRSGroupsin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
listTablesInRSGroup
public List<org.apache.hadoop.hbase.TableName> listTablesInRSGroup(String groupName) throws IOException - Specified by:
listTablesInRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getConfiguredNamespacesAndTablesInRSGroup
public org.apache.hadoop.hbase.util.Pair<List<String>,List<org.apache.hadoop.hbase.TableName>> getConfiguredNamespacesAndTablesInRSGroup(String groupName) throws IOException - Specified by:
getConfiguredNamespacesAndTablesInRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
removeRSGroup
- Specified by:
removeRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
removeServersFromRSGroup
public void removeServersFromRSGroup(Set<org.apache.hadoop.hbase.net.Address> servers) throws IOException - Specified by:
removeServersFromRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
moveServersToRSGroup
public void moveServersToRSGroup(Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException - Specified by:
moveServersToRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
setRSGroup
public void setRSGroup(Set<org.apache.hadoop.hbase.TableName> tables, String groupName) throws IOException - Specified by:
setRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- 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.client.Admin- Throws:
IOException
-
renameRSGroup
- Specified by:
renameRSGroupin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
updateRSGroupConfig
public void updateRSGroupConfig(String groupName, Map<String, String> configuration) throws IOException- Specified by:
updateRSGroupConfigin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getLogEntries
public List<org.apache.hadoop.hbase.client.LogEntry> getLogEntries(Set<org.apache.hadoop.hbase.ServerName> serverNames, String logType, org.apache.hadoop.hbase.client.ServerType serverType, int limit, Map<String, Object> filterParams) throws IOException- Specified by:
getLogEntriesin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
verify
- Throws:
IOException
-
clearSlowLogResponses
public List<Boolean> clearSlowLogResponses(Set<org.apache.hadoop.hbase.ServerName> serverNames) throws IOException - Specified by:
clearSlowLogResponsesin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
modifyColumnFamilyStoreFileTrackerAsync
public Future<Void> modifyColumnFamilyStoreFileTrackerAsync(org.apache.hadoop.hbase.TableName tableName, byte[] family, String dstSFT) throws IOException - Specified by:
modifyColumnFamilyStoreFileTrackerAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
modifyTableStoreFileTrackerAsync
public Future<Void> modifyTableStoreFileTrackerAsync(org.apache.hadoop.hbase.TableName tableName, String dstSFT) throws IOException - Specified by:
modifyTableStoreFileTrackerAsyncin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
flushMasterStore
- Specified by:
flushMasterStorein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
getCachedFilesList
public List<String> getCachedFilesList(org.apache.hadoop.hbase.ServerName serverName) throws IOException - Specified by:
getCachedFilesListin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
restoreBackupSystemTable
- Specified by:
restoreBackupSystemTablein interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
replicationPeerModificationSwitch
public boolean replicationPeerModificationSwitch(boolean on, boolean drainProcedures) throws IOException - Specified by:
replicationPeerModificationSwitchin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-
isReplicationPeerModificationEnabled
- Specified by:
isReplicationPeerModificationEnabledin interfaceorg.apache.hadoop.hbase.client.Admin- Throws:
IOException
-