public static class TestMasterObserver.CPMasterObserver extends Object implements MasterCoprocessor, MasterObserver
Coprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description |
|---|
CPMasterObserver() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServicespostAddReplicationPeer, postClearDeadServers, postCompletedModifyTableAction, postDecommissionRegionServers, postDisableReplicationPeer, postEnableReplicationPeer, postGetClusterMetrics, postGetReplicationPeerConfig, postListDecommissionedRegionServers, postListReplicationPeers, postModifyNamespace, postModifyTable, postRecommissionRegionServer, postRemoveReplicationPeer, postRemoveServers, postUpdateReplicationPeerConfig, preAddReplicationPeer, preClearDeadServers, preDecommissionRegionServers, preDisableReplicationPeer, preEnableReplicationPeer, preGetClusterMetrics, preGetReplicationPeerConfig, preListDecommissionedRegionServers, preListReplicationPeers, preModifyNamespace, preModifyTable, preModifyTableAction, preRecommissionRegionServer, preRemoveReplicationPeer, preRemoveServers, preSetSplitOrMergeEnabled, preUpdateReplicationPeerConfigpublic CPMasterObserver()
public void resetStates()
public Optional<MasterObserver> getMasterObserver()
getMasterObserver in interface MasterCoprocessorpublic void preMergeRegions(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge) throws IOException
preMergeRegions in interface MasterObserverIOExceptionpublic void postMergeRegions(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge) throws IOException
postMergeRegions in interface MasterObserverIOExceptionpublic boolean wasMergeRegionsCalled()
public void preCreateTable(ObserverContext<MasterCoprocessorEnvironment> env, TableDescriptor desc, RegionInfo[] regions) throws IOException
preCreateTable in interface MasterObserverIOExceptionpublic void postCreateTable(ObserverContext<MasterCoprocessorEnvironment> env, TableDescriptor desc, RegionInfo[] regions) throws IOException
postCreateTable in interface MasterObserverIOExceptionpublic boolean wasCreateTableCalled()
public boolean preCreateTableCalledOnly()
public void preDeleteTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
preDeleteTable in interface MasterObserverIOExceptionpublic void postDeleteTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
postDeleteTable in interface MasterObserverIOExceptionpublic boolean wasDeleteTableCalled()
public boolean preDeleteTableCalledOnly()
public void preTruncateTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
preTruncateTable in interface MasterObserverIOExceptionpublic void postTruncateTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
postTruncateTable in interface MasterObserverIOExceptionpublic boolean wasTruncateTableCalled()
public boolean preTruncateTableCalledOnly()
public void postSetSplitOrMergeEnabled(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean newValue, MasterSwitchType switchType) throws IOException
postSetSplitOrMergeEnabled in interface MasterObserverIOExceptionpublic void preModifyTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName, TableDescriptor htd) throws IOException
preModifyTable in interface MasterObserverIOExceptionpublic void postModifyTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName, TableDescriptor htd) throws IOException
postModifyTable in interface MasterObserverIOExceptionpublic boolean wasModifyTableCalled()
public boolean preModifyTableCalledOnly()
public void preCreateNamespace(ObserverContext<MasterCoprocessorEnvironment> env, NamespaceDescriptor ns) throws IOException
preCreateNamespace in interface MasterObserverIOExceptionpublic void postCreateNamespace(ObserverContext<MasterCoprocessorEnvironment> env, NamespaceDescriptor ns) throws IOException
postCreateNamespace in interface MasterObserverIOExceptionpublic boolean wasCreateNamespaceCalled()
public boolean preCreateNamespaceCalledOnly()
public void preDeleteNamespace(ObserverContext<MasterCoprocessorEnvironment> env, String name) throws IOException
preDeleteNamespace in interface MasterObserverIOExceptionpublic void postDeleteNamespace(ObserverContext<MasterCoprocessorEnvironment> env, String name) throws IOException
postDeleteNamespace in interface MasterObserverIOExceptionpublic boolean wasDeleteNamespaceCalled()
public boolean preDeleteNamespaceCalledOnly()
public void preModifyNamespace(ObserverContext<MasterCoprocessorEnvironment> env, NamespaceDescriptor ns) throws IOException
preModifyNamespace in interface MasterObserverIOExceptionpublic void postModifyNamespace(ObserverContext<MasterCoprocessorEnvironment> env, NamespaceDescriptor ns) throws IOException
postModifyNamespace in interface MasterObserverIOExceptionpublic boolean wasModifyNamespaceCalled()
public boolean preModifyNamespaceCalledOnly()
public void preGetNamespaceDescriptor(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) throws IOException
preGetNamespaceDescriptor in interface MasterObserverIOExceptionpublic void postGetNamespaceDescriptor(ObserverContext<MasterCoprocessorEnvironment> ctx, NamespaceDescriptor ns) throws IOException
postGetNamespaceDescriptor in interface MasterObserverIOExceptionpublic boolean wasGetNamespaceDescriptorCalled()
public void preListNamespaceDescriptors(ObserverContext<MasterCoprocessorEnvironment> env, List<NamespaceDescriptor> descriptors) throws IOException
preListNamespaceDescriptors in interface MasterObserverIOExceptionpublic void postListNamespaceDescriptors(ObserverContext<MasterCoprocessorEnvironment> env, List<NamespaceDescriptor> descriptors) throws IOException
postListNamespaceDescriptors in interface MasterObserverIOExceptionpublic boolean wasListNamespaceDescriptorsCalled()
public boolean preListNamespaceDescriptorsCalledOnly()
public void preEnableTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
preEnableTable in interface MasterObserverIOExceptionpublic void postEnableTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
postEnableTable in interface MasterObserverIOExceptionpublic boolean wasEnableTableCalled()
public boolean preEnableTableCalledOnly()
public void preDisableTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
preDisableTable in interface MasterObserverIOExceptionpublic void postDisableTable(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
postDisableTable in interface MasterObserverIOExceptionpublic boolean wasDisableTableCalled()
public boolean preDisableTableCalledOnly()
public void preAbortProcedure(ObserverContext<MasterCoprocessorEnvironment> ctx, long procId) throws IOException
preAbortProcedure in interface MasterObserverIOExceptionpublic void postAbortProcedure(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
postAbortProcedure in interface MasterObserverIOExceptionpublic boolean wasAbortProcedureCalled()
public boolean wasPreAbortProcedureCalledOnly()
public void preGetProcedures(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
preGetProcedures in interface MasterObserverIOExceptionpublic void postGetProcedures(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
postGetProcedures in interface MasterObserverIOExceptionpublic boolean wasGetProceduresCalled()
public boolean wasPreGetProceduresCalledOnly()
public void preGetLocks(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
preGetLocks in interface MasterObserverIOExceptionpublic void postGetLocks(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
postGetLocks in interface MasterObserverIOExceptionpublic boolean wasGetLocksCalled()
public boolean wasPreGetLocksCalledOnly()
public void preMove(ObserverContext<MasterCoprocessorEnvironment> env, RegionInfo region, ServerName srcServer, ServerName destServer) throws IOException
preMove in interface MasterObserverIOExceptionpublic void postMove(ObserverContext<MasterCoprocessorEnvironment> env, RegionInfo region, ServerName srcServer, ServerName destServer) throws IOException
postMove in interface MasterObserverIOExceptionpublic boolean wasMoveCalled()
public boolean preMoveCalledOnly()
public void preAssign(ObserverContext<MasterCoprocessorEnvironment> env, RegionInfo regionInfo) throws IOException
preAssign in interface MasterObserverIOExceptionpublic void postAssign(ObserverContext<MasterCoprocessorEnvironment> env, RegionInfo regionInfo) throws IOException
postAssign in interface MasterObserverIOExceptionpublic boolean wasAssignCalled()
public boolean preAssignCalledOnly()
public void preUnassign(ObserverContext<MasterCoprocessorEnvironment> env, RegionInfo regionInfo, boolean force) throws IOException
preUnassign in interface MasterObserverIOExceptionpublic void postUnassign(ObserverContext<MasterCoprocessorEnvironment> env, RegionInfo regionInfo, boolean force) throws IOException
postUnassign in interface MasterObserverIOExceptionpublic boolean wasUnassignCalled()
public boolean preUnassignCalledOnly()
public void preRegionOffline(ObserverContext<MasterCoprocessorEnvironment> env, RegionInfo regionInfo) throws IOException
preRegionOffline in interface MasterObserverIOExceptionpublic void postRegionOffline(ObserverContext<MasterCoprocessorEnvironment> env, RegionInfo regionInfo) throws IOException
postRegionOffline in interface MasterObserverIOExceptionpublic boolean wasRegionOfflineCalled()
public boolean preRegionOfflineCalledOnly()
public void preBalance(ObserverContext<MasterCoprocessorEnvironment> env) throws IOException
preBalance in interface MasterObserverIOExceptionpublic void postBalance(ObserverContext<MasterCoprocessorEnvironment> env, List<RegionPlan> plans) throws IOException
postBalance in interface MasterObserverIOExceptionpublic boolean wasBalanceCalled()
public boolean preBalanceCalledOnly()
public void preBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> env, boolean b) throws IOException
preBalanceSwitch in interface MasterObserverIOExceptionpublic void postBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> env, boolean oldValue, boolean newValue) throws IOException
postBalanceSwitch in interface MasterObserverIOExceptionpublic boolean wasBalanceSwitchCalled()
public boolean preBalanceSwitchCalledOnly()
public void preShutdown(ObserverContext<MasterCoprocessorEnvironment> env) throws IOException
preShutdown in interface MasterObserverIOExceptionpublic boolean wasShutdownCalled()
public void preStopMaster(ObserverContext<MasterCoprocessorEnvironment> env) throws IOException
preStopMaster in interface MasterObserverIOExceptionpublic boolean wasStopMasterCalled()
public void preMasterInitialization(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
preMasterInitialization in interface MasterObserverIOExceptionpublic boolean wasMasterInitializationCalled()
public void postStartMaster(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
postStartMaster in interface MasterObserverIOExceptionpublic boolean wasStartMasterCalled()
public void start(CoprocessorEnvironment env) throws IOException
start in interface CoprocessorIOExceptionpublic void stop(CoprocessorEnvironment env) throws IOException
stop in interface CoprocessorIOExceptionpublic boolean wasStarted()
public boolean wasStopped()
public void preSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) throws IOException
preSnapshot in interface MasterObserverIOExceptionpublic void postSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) throws IOException
postSnapshot in interface MasterObserverIOExceptionpublic boolean wasSnapshotCalled()
public void preListSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) throws IOException
preListSnapshot in interface MasterObserverIOExceptionpublic void postListSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) throws IOException
postListSnapshot in interface MasterObserverIOExceptionpublic boolean wasListSnapshotCalled()
public void preCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) throws IOException
preCloneSnapshot in interface MasterObserverIOExceptionpublic void postCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) throws IOException
postCloneSnapshot in interface MasterObserverIOExceptionpublic boolean wasCloneSnapshotCalled()
public void preRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) throws IOException
preRestoreSnapshot in interface MasterObserverIOExceptionpublic void postRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) throws IOException
postRestoreSnapshot in interface MasterObserverIOExceptionpublic boolean wasRestoreSnapshotCalled()
public void preDeleteSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) throws IOException
preDeleteSnapshot in interface MasterObserverIOExceptionpublic void postDeleteSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) throws IOException
postDeleteSnapshot in interface MasterObserverIOExceptionpublic boolean wasDeleteSnapshotCalled()
public void preCreateTableAction(ObserverContext<MasterCoprocessorEnvironment> env, TableDescriptor desc, RegionInfo[] regions) throws IOException
preCreateTableAction in interface MasterObserverIOExceptionpublic void postCompletedCreateTableAction(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor desc, RegionInfo[] regions) throws IOException
postCompletedCreateTableAction in interface MasterObserverIOExceptionpublic boolean wasPreCreateTableActionCalled()
public boolean wasCreateTableActionCalled()
public boolean wasCreateTableActionCalledOnly()
public void preDeleteTableAction(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
preDeleteTableAction in interface MasterObserverIOExceptionpublic void postCompletedDeleteTableAction(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) throws IOException
postCompletedDeleteTableAction in interface MasterObserverIOExceptionpublic boolean wasDeleteTableActionCalled()
public boolean wasDeleteTableActionCalledOnly()
public void preTruncateTableAction(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName) throws IOException
preTruncateTableAction in interface MasterObserverIOExceptionpublic void postCompletedTruncateTableAction(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) throws IOException
postCompletedTruncateTableAction in interface MasterObserverIOExceptionpublic boolean wasTruncateTableActionCalled()
public boolean wasTruncateTableActionCalledOnly()
public void preModifyTableAction(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName, TableDescriptor htd) throws IOException
preModifyTableAction in interface MasterObserverIOExceptionpublic void postCompletedModifyTableAction(ObserverContext<MasterCoprocessorEnvironment> env, TableName tableName, TableDescriptor htd) throws IOException
postCompletedModifyTableAction in interface MasterObserverIOExceptionpublic boolean wasModifyTableActionCalled()
public boolean wasModifyTableActionCalledOnly()
public void preEnableTableAction(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) throws IOException
preEnableTableAction in interface MasterObserverIOExceptionpublic void postCompletedEnableTableAction(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) throws IOException
postCompletedEnableTableAction in interface MasterObserverIOExceptionpublic boolean wasEnableTableActionCalled()
public boolean preEnableTableActionCalledOnly()
public void preDisableTableAction(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) throws IOException
preDisableTableAction in interface MasterObserverIOExceptionpublic void postCompletedDisableTableAction(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) throws IOException
postCompletedDisableTableAction in interface MasterObserverIOExceptionpublic boolean wasDisableTableActionCalled()
public boolean preDisableTableActionCalledOnly()
public void preGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableName> tableNamesList, List<TableDescriptor> descriptors, String regex) throws IOException
preGetTableDescriptors in interface MasterObserverIOExceptionpublic void postGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableName> tableNamesList, List<TableDescriptor> descriptors, String regex) throws IOException
postGetTableDescriptors in interface MasterObserverIOExceptionpublic boolean wasGetTableDescriptorsCalled()
public void preGetTableNames(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableDescriptor> descriptors, String regex) throws IOException
preGetTableNames in interface MasterObserverIOExceptionpublic void postGetTableNames(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableDescriptor> descriptors, String regex) throws IOException
postGetTableNames in interface MasterObserverIOExceptionpublic boolean wasGetTableNamesCalled()
public void preTableFlush(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) throws IOException
preTableFlush in interface MasterObserverIOExceptionpublic void postTableFlush(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) throws IOException
postTableFlush in interface MasterObserverIOExceptionpublic void preSetUserQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, GlobalQuotaSettings quotas) throws IOException
preSetUserQuota in interface MasterObserverIOExceptionpublic void postSetUserQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, GlobalQuotaSettings quotas) throws IOException
postSetUserQuota in interface MasterObserverIOExceptionpublic void preSetUserQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, TableName tableName, GlobalQuotaSettings quotas) throws IOException
preSetUserQuota in interface MasterObserverIOExceptionpublic void postSetUserQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, TableName tableName, GlobalQuotaSettings quotas) throws IOException
postSetUserQuota in interface MasterObserverIOExceptionpublic void preSetUserQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, String namespace, GlobalQuotaSettings quotas) throws IOException
preSetUserQuota in interface MasterObserverIOExceptionpublic void postSetUserQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, String namespace, GlobalQuotaSettings quotas) throws IOException
postSetUserQuota in interface MasterObserverIOExceptionpublic void preSetTableQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, GlobalQuotaSettings quotas) throws IOException
preSetTableQuota in interface MasterObserverIOExceptionpublic void postSetTableQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, GlobalQuotaSettings quotas) throws IOException
postSetTableQuota in interface MasterObserverIOExceptionpublic void preSetNamespaceQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, GlobalQuotaSettings quotas) throws IOException
preSetNamespaceQuota in interface MasterObserverIOExceptionpublic void postSetNamespaceQuota(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, GlobalQuotaSettings quotas) throws IOException
postSetNamespaceQuota in interface MasterObserverIOExceptionpublic void preMoveServersAndTables(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, Set<TableName> tables, String targetGroup) throws IOException
preMoveServersAndTables in interface MasterObserverIOExceptionpublic void postMoveServersAndTables(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, Set<TableName> tables, String targetGroup) throws IOException
postMoveServersAndTables in interface MasterObserverIOExceptionpublic void preMoveServers(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, String targetGroup) throws IOException
preMoveServers in interface MasterObserverIOExceptionpublic void postMoveServers(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, String targetGroup) throws IOException
postMoveServers in interface MasterObserverIOExceptionpublic void preMoveTables(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<TableName> tables, String targetGroupGroup) throws IOException
preMoveTables in interface MasterObserverIOExceptionpublic void postMoveTables(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<TableName> tables, String targetGroup) throws IOException
postMoveTables in interface MasterObserverIOExceptionpublic void preAddRSGroup(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) throws IOException
preAddRSGroup in interface MasterObserverIOExceptionpublic void postAddRSGroup(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) throws IOException
postAddRSGroup in interface MasterObserverIOExceptionpublic void preRemoveRSGroup(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) throws IOException
preRemoveRSGroup in interface MasterObserverIOExceptionpublic void postRemoveRSGroup(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) throws IOException
postRemoveRSGroup in interface MasterObserverIOExceptionpublic void preBalanceRSGroup(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) throws IOException
preBalanceRSGroup in interface MasterObserverIOExceptionpublic void postBalanceRSGroup(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName, boolean balancerRan) throws IOException
postBalanceRSGroup in interface MasterObserverIOExceptionpublic void preRequestLock(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, TableName tableName, RegionInfo[] regionInfos, String description) throws IOException
preRequestLock in interface MasterObserverIOExceptionpublic void postRequestLock(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, TableName tableName, RegionInfo[] regionInfos, String description) throws IOException
postRequestLock in interface MasterObserverIOExceptionpublic void preLockHeartbeat(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tn, String description) throws IOException
preLockHeartbeat in interface MasterObserverIOExceptionpublic void postLockHeartbeat(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
postLockHeartbeat in interface MasterObserverIOExceptionpublic boolean preAndPostForQueueLockAndHeartbeatLockCalled()
public void preSplitRegion(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName, byte[] splitRow) throws IOException
preSplitRegion in interface MasterObserverIOExceptionpublic void preSplitRegionAction(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName, byte[] splitRow) throws IOException
preSplitRegionAction in interface MasterObserverIOExceptionpublic void postCompletedSplitRegionAction(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfoA, RegionInfo regionInfoB) throws IOException
postCompletedSplitRegionAction in interface MasterObserverIOExceptionpublic void preSplitRegionBeforeMETAAction(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] splitKey, List<Mutation> metaEntries) throws IOException
preSplitRegionBeforeMETAAction in interface MasterObserverIOExceptionpublic void preSplitRegionAfterMETAAction(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
preSplitRegionAfterMETAAction in interface MasterObserverIOExceptionpublic void postRollBackSplitRegionAction(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
postRollBackSplitRegionAction in interface MasterObserverIOExceptionpublic void preMergeRegionsAction(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge) throws IOException
preMergeRegionsAction in interface MasterObserverIOExceptionpublic void postCompletedMergeRegionsAction(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo[] regionsToMerge, RegionInfo mergedRegion) throws IOException
postCompletedMergeRegionsAction in interface MasterObserverIOExceptionpublic void preMergeRegionsCommitAction(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge, List<Mutation> metaEntries) throws IOException
preMergeRegionsCommitAction in interface MasterObserverIOExceptionpublic void postMergeRegionsCommitAction(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge, RegionInfo mergedRegion) throws IOException
postMergeRegionsCommitAction in interface MasterObserverIOExceptionpublic void postRollBackMergeRegionsAction(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge) throws IOException
postRollBackMergeRegionsAction in interface MasterObserverIOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.