public static class TestRSGroupsBase.CPMasterObserver extends Object implements org.apache.hadoop.hbase.coprocessor.MasterCoprocessor, org.apache.hadoop.hbase.coprocessor.MasterObserver
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
postAddRSGroupCalled |
(package private) boolean |
postBalanceRSGroupCalled |
(package private) boolean |
postMoveServersAndTables |
(package private) boolean |
postMoveServersCalled |
(package private) boolean |
postMoveTablesCalled |
(package private) boolean |
postRemoveRSGroupCalled |
(package private) boolean |
postRemoveServersCalled |
(package private) boolean |
postRenameRSGroupCalled |
(package private) boolean |
preAddRSGroupCalled |
(package private) boolean |
preBalanceRSGroupCalled |
(package private) boolean |
preMoveServersAndTables |
(package private) boolean |
preMoveServersCalled |
(package private) boolean |
preMoveTablesCalled |
(package private) boolean |
preRemoveRSGroupCalled |
(package private) boolean |
preRemoveServersCalled |
(package private) boolean |
preRenameRSGroupCalled |
Constructor and Description |
---|
CPMasterObserver() |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.hadoop.hbase.coprocessor.MasterObserver> |
getMasterObserver() |
void |
postAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String name) |
void |
postBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String groupName,
boolean balancerRan) |
void |
postMoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
Set<org.apache.hadoop.hbase.net.Address> servers,
String targetGroup) |
void |
postMoveServersAndTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
Set<org.apache.hadoop.hbase.net.Address> servers,
Set<org.apache.hadoop.hbase.TableName> tables,
String targetGroup) |
void |
postMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
Set<org.apache.hadoop.hbase.TableName> tables,
String targetGroup) |
void |
postRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String name) |
void |
postRemoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
Set<org.apache.hadoop.hbase.net.Address> servers) |
void |
postRenameRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String oldName,
String newName) |
void |
preAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String name) |
void |
preBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String groupName) |
void |
preMoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
Set<org.apache.hadoop.hbase.net.Address> servers,
String targetGroup) |
void |
preMoveServersAndTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
Set<org.apache.hadoop.hbase.net.Address> servers,
Set<org.apache.hadoop.hbase.TableName> tables,
String targetGroup) |
void |
preMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
Set<org.apache.hadoop.hbase.TableName> tables,
String targetGroup) |
void |
preRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String name) |
void |
preRemoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
Set<org.apache.hadoop.hbase.net.Address> servers) |
void |
preRenameRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String oldName,
String newName) |
void |
resetFlags() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postAbortProcedure, postAddReplicationPeer, postAssign, postBalance, postBalanceSwitch, postClearDeadServers, postCloneSnapshot, postCompletedCreateTableAction, postCompletedDeleteTableAction, postCompletedDisableTableAction, postCompletedEnableTableAction, postCompletedMergeRegionsAction, postCompletedModifyTableAction, postCompletedModifyTableAction, postCompletedSnapshotAction, postCompletedSplitRegionAction, postCompletedTruncateTableAction, postCreateNamespace, postCreateTable, postDecommissionRegionServers, postDeleteNamespace, postDeleteSnapshot, postDeleteTable, postDisableReplicationPeer, postDisableTable, postEnableReplicationPeer, postEnableTable, postGetClusterMetrics, postGetLocks, postGetNamespaceDescriptor, postGetProcedures, postGetReplicationPeerConfig, postGetTableDescriptors, postGetTableNames, postGetUserPermissions, postGrant, postHasUserPermissions, postIsRpcThrottleEnabled, postListDecommissionedRegionServers, postListNamespaceDescriptors, postListNamespaces, postListReplicationPeers, postListSnapshot, postLockHeartbeat, postMergeRegions, postMergeRegionsCommitAction, postModifyNamespace, postModifyNamespace, postModifyTable, postModifyTable, postMove, postRecommissionRegionServer, postRegionOffline, postRemoveReplicationPeer, postRequestLock, postRestoreSnapshot, postRevoke, postRollBackMergeRegionsAction, postRollBackSplitRegionAction, postSetNamespaceQuota, postSetRegionServerQuota, postSetSplitOrMergeEnabled, postSetTableQuota, postSetUserQuota, postSetUserQuota, postSetUserQuota, postSnapshot, postStartMaster, postSwitchExceedThrottleQuota, postSwitchRpcThrottle, postTableFlush, postTruncateTable, postUnassign, postUnassign, postUpdateReplicationPeerConfig, postUpdateRSGroupConfig, preAbortProcedure, preAddReplicationPeer, preAssign, preBalance, preBalanceSwitch, preClearDeadServers, preCloneSnapshot, preCreateNamespace, preCreateTable, preCreateTableAction, preCreateTableRegionsInfos, preDecommissionRegionServers, preDeleteNamespace, preDeleteSnapshot, preDeleteTable, preDeleteTableAction, preDisableReplicationPeer, preDisableTable, preDisableTableAction, preEnableReplicationPeer, preEnableTable, preEnableTableAction, preGetClusterMetrics, preGetLocks, preGetNamespaceDescriptor, preGetProcedures, preGetReplicationPeerConfig, preGetTableDescriptors, preGetTableNames, preGetUserPermissions, preGrant, preHasUserPermissions, preIsRpcThrottleEnabled, preListDecommissionedRegionServers, preListNamespaceDescriptors, preListNamespaces, preListReplicationPeers, preListSnapshot, preLockHeartbeat, preMasterInitialization, preMergeRegions, preMergeRegionsAction, preMergeRegionsCommitAction, preModifyNamespace, preModifyNamespace, preModifyTable, preModifyTable, preModifyTableAction, preModifyTableAction, preMove, preRecommissionRegionServer, preRegionOffline, preRemoveReplicationPeer, preRequestLock, preRestoreSnapshot, preRevoke, preSetNamespaceQuota, preSetRegionServerQuota, preSetSplitOrMergeEnabled, preSetTableQuota, preSetUserQuota, preSetUserQuota, preSetUserQuota, preShutdown, preSnapshot, preSplitRegion, preSplitRegionAction, preSplitRegionAfterMETAAction, preSplitRegionBeforeMETAAction, preStopMaster, preSwitchExceedThrottleQuota, preSwitchRpcThrottle, preTableFlush, preTruncateTable, preTruncateTableAction, preUnassign, preUnassign, preUpdateReplicationPeerConfig, preUpdateRSGroupConfig
boolean preBalanceRSGroupCalled
boolean postBalanceRSGroupCalled
boolean preMoveServersCalled
boolean postMoveServersCalled
boolean preMoveTablesCalled
boolean postMoveTablesCalled
boolean preAddRSGroupCalled
boolean postAddRSGroupCalled
boolean preRemoveRSGroupCalled
boolean postRemoveRSGroupCalled
boolean preRemoveServersCalled
boolean postRemoveServersCalled
boolean preMoveServersAndTables
boolean postMoveServersAndTables
boolean preRenameRSGroupCalled
boolean postRenameRSGroupCalled
public CPMasterObserver()
public void resetFlags()
public Optional<org.apache.hadoop.hbase.coprocessor.MasterObserver> getMasterObserver()
getMasterObserver
in interface org.apache.hadoop.hbase.coprocessor.MasterCoprocessor
public void preMoveServersAndTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
preMoveServersAndTables
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postMoveServersAndTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
postMoveServersAndTables
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preRemoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers) throws IOException
preRemoveServers
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postRemoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers) throws IOException
postRemoveServers
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
preRemoveRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
postRemoveRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
preAddRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
postAddRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
preMoveTables
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
postMoveTables
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preMoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException
preMoveServers
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postMoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException
postMoveServers
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName) throws IOException
preBalanceRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, boolean balancerRan) throws IOException
postBalanceRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preRenameRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String oldName, String newName) throws IOException
preRenameRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postRenameRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String oldName, String newName) throws IOException
postRenameRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.