Class TestMasterObserver.CPMasterObserver
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestMasterObserver.CPMasterObserver
- All Implemented Interfaces:
org.apache.hadoop.hbase.Coprocessor
,org.apache.hadoop.hbase.coprocessor.MasterCoprocessor
,org.apache.hadoop.hbase.coprocessor.MasterObserver
- Enclosing class:
- TestMasterObserver
public static class TestMasterObserver.CPMasterObserver
extends Object
implements org.apache.hadoop.hbase.coprocessor.MasterCoprocessor, org.apache.hadoop.hbase.coprocessor.MasterObserver
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
org.apache.hadoop.hbase.Coprocessor.State
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
Fields inherited from interface org.apache.hadoop.hbase.Coprocessor
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.hadoop.hbase.coprocessor.MasterObserver>
void
postAbortProcedure
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
postAddRSGroup
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) void
postAssign
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) void
postBalance
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.BalanceRequest request, List<org.apache.hadoop.hbase.master.RegionPlan> plans) void
postBalanceRSGroup
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, org.apache.hadoop.hbase.client.BalanceRequest request, org.apache.hadoop.hbase.client.BalanceResponse response) void
postBalanceSwitch
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean oldValue, boolean newValue) void
postCloneSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
postCompletedCreateTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) void
postCompletedDeleteTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) void
postCompletedDisableTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) void
postCompletedEnableTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) void
postCompletedMergeRegionsAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, org.apache.hadoop.hbase.client.RegionInfo mergedRegion) void
postCompletedModifyTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) void
postCompletedSplitRegionAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.RegionInfo regionInfoA, org.apache.hadoop.hbase.client.RegionInfo regionInfoB) void
postCompletedTruncateTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) void
postCreateNamespace
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) void
postCreateTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) void
postDeleteNamespace
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name) void
postDeleteSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) void
postDeleteTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) void
postDisableTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) void
postEnableTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) void
postGetLocks
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
postGetNamespaceDescriptor
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.NamespaceDescriptor ns) void
postGetProcedures
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
postGetTableDescriptors
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.TableName> tableNamesList, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) void
postGetTableNames
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) void
postListNamespaceDescriptors
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.NamespaceDescriptor> descriptors) void
postListNamespaces
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces) void
postListSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) void
postLockHeartbeat
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
postMasterStoreFlush
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
postMergeRegions
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) void
postMergeRegionsCommitAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, org.apache.hadoop.hbase.client.RegionInfo mergedRegion) void
postModifyNamespace
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor oldNsDesc, org.apache.hadoop.hbase.NamespaceDescriptor currentNsDesc) void
postModifyTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) void
postMove
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer) 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
postRegionOffline
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) void
postRemoveRSGroup
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) void
postRequestLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.RegionInfo[] regionInfos, String description) void
postRestoreSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
postRollBackMergeRegionsAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) void
postRollBackSplitRegionAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
postSetNamespaceQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
postSetSplitOrMergeEnabled
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, boolean newValue, org.apache.hadoop.hbase.client.MasterSwitchType switchType) void
postSetTableQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
postSetUserQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
postSetUserQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
postSetUserQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
postSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
postStartMaster
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
postTableFlush
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) void
postTruncateTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) void
postUnassign
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) void
postUpdateMasterConfiguration
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration postReloadConf) void
preAbortProcedure
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, long procId) void
preAddRSGroup
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) boolean
void
preAssign
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) boolean
void
preBalance
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.BalanceRequest request) boolean
void
preBalanceRSGroup
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, org.apache.hadoop.hbase.client.BalanceRequest request) void
preBalanceSwitch
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean b) boolean
void
preCloneSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
preCreateNamespace
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) boolean
void
preCreateTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) void
preCreateTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) boolean
org.apache.hadoop.hbase.client.TableDescriptor
preCreateTableRegionsInfos
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc) void
preDeleteNamespace
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name) boolean
void
preDeleteSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) void
preDeleteTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) void
preDeleteTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) boolean
void
preDisableTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) void
preDisableTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) boolean
boolean
void
preEnableTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) void
preEnableTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) boolean
boolean
void
preGetLocks
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
preGetNamespaceDescriptor
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace) void
preGetProcedures
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
preGetTableDescriptors
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.TableName> tableNamesList, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) void
preGetTableNames
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) void
preListNamespaceDescriptors
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.NamespaceDescriptor> descriptors) boolean
void
preListNamespaces
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces) void
preListSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) void
preLockHeartbeat
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tn, String description) void
preMasterInitialization
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
preMasterStoreFlush
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
preMergeRegions
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) void
preMergeRegionsAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) void
preMergeRegionsCommitAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, List<org.apache.hadoop.hbase.client.Mutation> metaEntries) void
preModifyNamespace
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor currentNsDesc, org.apache.hadoop.hbase.NamespaceDescriptor newNsDesc) boolean
org.apache.hadoop.hbase.client.TableDescriptor
preModifyTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) void
preModifyTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) boolean
void
preMove
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer) boolean
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 targetGroupGroup) void
preRegionOffline
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) boolean
void
preRemoveRSGroup
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) void
preRequestLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.RegionInfo[] regionInfos, String description) void
preRestoreSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
preSetNamespaceQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
preSetTableQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
preSetUserQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
preSetUserQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
preSetUserQuota
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) void
preShutdown
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) void
preSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
preSplitRegion
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.TableName tableName, byte[] splitRow) void
preSplitRegionAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.TableName tableName, byte[] splitRow) void
preSplitRegionAfterMETAAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) void
preSplitRegionBeforeMETAAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, byte[] splitKey, List<org.apache.hadoop.hbase.client.Mutation> metaEntries) void
preStopMaster
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) void
preTableFlush
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) void
preTruncateTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) void
preTruncateTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) boolean
void
preUnassign
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) boolean
void
preUpdateMasterConfiguration
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration preReloadConf) void
void
start
(org.apache.hadoop.hbase.CoprocessorEnvironment env) void
stop
(org.apache.hadoop.hbase.CoprocessorEnvironment env) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.Coprocessor
getServices
Methods inherited from interface org.apache.hadoop.hbase.coprocessor.MasterObserver
postAddReplicationPeer, postClearDeadServers, postCompletedSnapshotAction, postDecommissionRegionServers, postDisableReplicationPeer, postEnableReplicationPeer, postGetClusterMetrics, postGetConfiguredNamespacesAndTablesInRSGroup, postGetReplicationPeerConfig, postGetRSGroupInfo, postGetRSGroupInfoOfServer, postGetRSGroupInfoOfTable, postGetUserPermissions, postGrant, postHasUserPermissions, postIsRpcThrottleEnabled, postListDecommissionedRegionServers, postListReplicationPeers, postListRSGroups, postListTablesInRSGroup, postModifyColumnFamilyStoreFileTracker, postModifyTableStoreFileTracker, postRecommissionRegionServer, postRemoveReplicationPeer, postRemoveServers, postRenameRSGroup, postRevoke, postSetRegionServerQuota, postSwitchExceedThrottleQuota, postSwitchRpcThrottle, postTransitReplicationPeerSyncReplicationState, postTruncateRegion, postTruncateRegionAction, postUpdateReplicationPeerConfig, postUpdateRSGroupConfig, preAddReplicationPeer, preClearDeadServers, preDecommissionRegionServers, preDisableReplicationPeer, preEnableReplicationPeer, preGetClusterMetrics, preGetConfiguredNamespacesAndTablesInRSGroup, preGetReplicationPeerConfig, preGetRSGroupInfo, preGetRSGroupInfoOfServer, preGetRSGroupInfoOfTable, preGetUserPermissions, preGrant, preHasUserPermissions, preIsRpcThrottleEnabled, preListDecommissionedRegionServers, preListReplicationPeers, preListRSGroups, preListTablesInRSGroup, preModifyColumnFamilyStoreFileTracker, preModifyTableStoreFileTracker, preRecommissionRegionServer, preRemoveReplicationPeer, preRemoveServers, preRenameRSGroup, preRevoke, preSetRegionServerQuota, preSetSplitOrMergeEnabled, preSwitchExceedThrottleQuota, preSwitchRpcThrottle, preTransitReplicationPeerSyncReplicationState, preTruncateRegion, preTruncateRegionAction, preUpdateReplicationPeerConfig, preUpdateRSGroupConfig
-
Field Details
-
preCreateTableRegionInfosCalled
-
preCreateTableCalled
-
postCreateTableCalled
-
preDeleteTableCalled
-
postDeleteTableCalled
-
preTruncateTableCalled
-
postTruncateTableCalled
-
preModifyTableCalled
-
postModifyTableCalled
-
preCreateNamespaceCalled
-
postCreateNamespaceCalled
-
preDeleteNamespaceCalled
-
postDeleteNamespaceCalled
-
preModifyNamespaceCalled
-
postModifyNamespaceCalled
-
preGetNamespaceDescriptorCalled
-
postGetNamespaceDescriptorCalled
-
preListNamespacesCalled
-
postListNamespacesCalled
-
preListNamespaceDescriptorsCalled
-
postListNamespaceDescriptorsCalled
-
preAddColumnCalled
-
postAddColumnCalled
-
preModifyColumnCalled
-
postModifyColumnCalled
-
preDeleteColumnCalled
-
postDeleteColumnCalled
-
preEnableTableCalled
-
postEnableTableCalled
-
preDisableTableCalled
-
postDisableTableCalled
-
preAbortProcedureCalled
-
postAbortProcedureCalled
-
preGetProceduresCalled
-
postGetProceduresCalled
-
preGetLocksCalled
-
postGetLocksCalled
-
preMoveCalled
-
postMoveCalled
-
preAssignCalled
-
postAssignCalled
-
preUnassignCalled
-
postUnassignCalled
-
preRegionOfflineCalled
-
postRegionOfflineCalled
-
preBalanceCalled
-
postBalanceCalled
-
preBalanceSwitchCalled
-
postBalanceSwitchCalled
-
preShutdownCalled
-
preStopMasterCalled
-
preMasterInitializationCalled
-
postStartMasterCalled
-
startCalled
-
stopCalled
-
preSnapshotCalled
-
postSnapshotCalled
-
preListSnapshotCalled
-
postListSnapshotCalled
-
preCloneSnapshotCalled
-
postCloneSnapshotCalled
-
preRestoreSnapshotCalled
-
postRestoreSnapshotCalled
-
preDeleteSnapshotCalled
-
postDeleteSnapshotCalled
-
preCreateTableActionCalled
-
postCompletedCreateTableActionCalled
-
preDeleteTableActionCalled
-
postCompletedDeleteTableActionCalled
-
preTruncateTableActionCalled
-
postCompletedTruncateTableActionCalled
-
preAddColumnFamilyActionCalled
-
postCompletedAddColumnFamilyActionCalled
-
preModifyColumnFamilyActionCalled
-
postCompletedModifyColumnFamilyActionCalled
-
preDeleteColumnFamilyActionCalled
-
postCompletedDeleteColumnFamilyActionCalled
-
preEnableTableActionCalled
-
postCompletedEnableTableActionCalled
-
preDisableTableActionCalled
-
postCompletedDisableTableActionCalled
-
preModifyTableActionCalled
-
postCompletedModifyTableActionCalled
-
preGetTableDescriptorsCalled
-
postGetTableDescriptorsCalled
-
postGetTableNamesCalled
-
preGetTableNamesCalled
-
preMergeRegionsCalled
-
postMergeRegionsCalled
-
preRequestLockCalled
-
postRequestLockCalled
-
preLockHeartbeatCalled
-
postLockHeartbeatCalled
-
preMasterStoreFlushCalled
-
postMasterStoreFlushCalled
-
preUpdateMasterConfigurationCalled
-
postUpdateMasterConfigurationCalled
-
-
Constructor Details
-
CPMasterObserver
public CPMasterObserver()
-
-
Method Details
-
resetStates
-
getMasterObserver
- Specified by:
getMasterObserver
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterCoprocessor
-
preMergeRegions
public void preMergeRegions(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) throws IOException - Specified by:
preMergeRegions
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postMergeRegions
public void postMergeRegions(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) throws IOException - Specified by:
postMergeRegions
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasMergeRegionsCalled
-
preCreateTableRegionsInfos
public org.apache.hadoop.hbase.client.TableDescriptor preCreateTableRegionsInfos(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc) throws IOException - Specified by:
preCreateTableRegionsInfos
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preCreateTable
public void preCreateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) throws IOException - Specified by:
preCreateTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCreateTable
public void postCreateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) throws IOException - Specified by:
postCreateTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasCreateTableCalled
-
preCreateTableCalledOnly
-
preDeleteTable
public void preDeleteTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preDeleteTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postDeleteTable
public void postDeleteTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postDeleteTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasDeleteTableCalled
-
preDeleteTableCalledOnly
-
preTruncateTable
public void preTruncateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preTruncateTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postTruncateTable
public void postTruncateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postTruncateTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasTruncateTableCalled
-
preTruncateTableCalledOnly
-
postSetSplitOrMergeEnabled
public void postSetSplitOrMergeEnabled(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, boolean newValue, org.apache.hadoop.hbase.client.MasterSwitchType switchType) throws IOException - Specified by:
postSetSplitOrMergeEnabled
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preModifyTable
public org.apache.hadoop.hbase.client.TableDescriptor preModifyTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) throws IOException - Specified by:
preModifyTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postModifyTable
public void postModifyTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) throws IOException - Specified by:
postModifyTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasModifyTableCalled
-
preModifyTableCalledOnly
-
preCreateNamespace
public void preCreateNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException - Specified by:
preCreateNamespace
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCreateNamespace
public void postCreateNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException - Specified by:
postCreateNamespace
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasCreateNamespaceCalled
-
preCreateNamespaceCalledOnly
-
preDeleteNamespace
public void preDeleteNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name) throws IOException - Specified by:
preDeleteNamespace
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postDeleteNamespace
public void postDeleteNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name) throws IOException - Specified by:
postDeleteNamespace
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasDeleteNamespaceCalled
-
preDeleteNamespaceCalledOnly
-
preModifyNamespace
public void preModifyNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor currentNsDesc, org.apache.hadoop.hbase.NamespaceDescriptor newNsDesc) throws IOException - Specified by:
preModifyNamespace
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postModifyNamespace
public void postModifyNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor oldNsDesc, org.apache.hadoop.hbase.NamespaceDescriptor currentNsDesc) throws IOException - Specified by:
postModifyNamespace
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasModifyNamespaceCalled
-
preModifyNamespaceCalledOnly
-
preGetNamespaceDescriptor
public void preGetNamespaceDescriptor(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace) throws IOException - Specified by:
preGetNamespaceDescriptor
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postGetNamespaceDescriptor
public void postGetNamespaceDescriptor(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException - Specified by:
postGetNamespaceDescriptor
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasGetNamespaceDescriptorCalled
-
preListNamespaces
public void preListNamespaces(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces) - Specified by:
preListNamespaces
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
-
postListNamespaces
public void postListNamespaces(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces) - Specified by:
postListNamespaces
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
-
preListNamespaceDescriptors
public void preListNamespaceDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.NamespaceDescriptor> descriptors) throws IOException - Specified by:
preListNamespaceDescriptors
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postListNamespaceDescriptors
public void postListNamespaceDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.NamespaceDescriptor> descriptors) throws IOException - Specified by:
postListNamespaceDescriptors
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasListNamespaceDescriptorsCalled
-
preListNamespaceDescriptorsCalledOnly
-
preEnableTable
public void preEnableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preEnableTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postEnableTable
public void postEnableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postEnableTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasEnableTableCalled
-
preEnableTableCalledOnly
-
preDisableTable
public void preDisableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preDisableTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postDisableTable
public void postDisableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postDisableTable
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasDisableTableCalled
-
preDisableTableCalledOnly
-
preAbortProcedure
public void preAbortProcedure(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, long procId) throws IOException - Specified by:
preAbortProcedure
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postAbortProcedure
public void postAbortProcedure(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
postAbortProcedure
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasAbortProcedureCalled
-
wasPreAbortProcedureCalledOnly
-
preGetProcedures
public void preGetProcedures(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
preGetProcedures
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postGetProcedures
public void postGetProcedures(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
postGetProcedures
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasGetProceduresCalled
-
wasPreGetProceduresCalledOnly
-
preGetLocks
public void preGetLocks(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
preGetLocks
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postGetLocks
public void postGetLocks(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
postGetLocks
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasGetLocksCalled
-
wasPreGetLocksCalledOnly
-
preMove
public void preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer) throws IOException - Specified by:
preMove
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postMove
public void postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer) throws IOException - Specified by:
postMove
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasMoveCalled
-
preMoveCalledOnly
-
preAssign
public void preAssign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException - Specified by:
preAssign
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postAssign
public void postAssign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException - Specified by:
postAssign
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasAssignCalled
-
preAssignCalledOnly
-
preUnassign
public void preUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException - Specified by:
preUnassign
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postUnassign
public void postUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException - Specified by:
postUnassign
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasUnassignCalled
-
preUnassignCalledOnly
-
preRegionOffline
public void preRegionOffline(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException - Specified by:
preRegionOffline
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postRegionOffline
public void postRegionOffline(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException - Specified by:
postRegionOffline
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasRegionOfflineCalled
-
preRegionOfflineCalledOnly
-
preBalance
public void preBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.BalanceRequest request) throws IOException - Specified by:
preBalance
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postBalance
public void postBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.BalanceRequest request, List<org.apache.hadoop.hbase.master.RegionPlan> plans) throws IOException - Specified by:
postBalance
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasBalanceCalled
-
preBalanceCalledOnly
-
preBalanceSwitch
public void preBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean b) throws IOException - Specified by:
preBalanceSwitch
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postBalanceSwitch
public void postBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean oldValue, boolean newValue) throws IOException - Specified by:
postBalanceSwitch
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasBalanceSwitchCalled
-
preBalanceSwitchCalledOnly
-
preShutdown
public void preShutdown(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) throws IOException - Specified by:
preShutdown
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasShutdownCalled
-
preStopMaster
public void preStopMaster(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) throws IOException - Specified by:
preStopMaster
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasStopMasterCalled
-
preMasterInitialization
public void preMasterInitialization(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
preMasterInitialization
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasMasterInitializationCalled
-
postStartMaster
public void postStartMaster(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
postStartMaster
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasStartMasterCalled
-
start
- Specified by:
start
in interfaceorg.apache.hadoop.hbase.Coprocessor
- Throws:
IOException
-
stop
- Specified by:
stop
in interfaceorg.apache.hadoop.hbase.Coprocessor
- Throws:
IOException
-
wasStarted
-
wasStopped
-
preSnapshot
public void preSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException - Specified by:
preSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postSnapshot
public void postSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException - Specified by:
postSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasSnapshotCalled
-
preListSnapshot
public void preListSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException - Specified by:
preListSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postListSnapshot
public void postListSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException - Specified by:
postListSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasListSnapshotCalled
-
preCloneSnapshot
public void preCloneSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException - Specified by:
preCloneSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCloneSnapshot
public void postCloneSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException - Specified by:
postCloneSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasCloneSnapshotCalled
-
preRestoreSnapshot
public void preRestoreSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException - Specified by:
preRestoreSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postRestoreSnapshot
public void postRestoreSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException - Specified by:
postRestoreSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasRestoreSnapshotCalled
-
preDeleteSnapshot
public void preDeleteSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException - Specified by:
preDeleteSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postDeleteSnapshot
public void postDeleteSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException - Specified by:
postDeleteSnapshot
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasDeleteSnapshotCalled
-
preCreateTableAction
public void preCreateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) throws IOException - Specified by:
preCreateTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCompletedCreateTableAction
public void postCompletedCreateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) throws IOException - Specified by:
postCompletedCreateTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasPreCreateTableActionCalled
-
wasCreateTableActionCalled
-
wasCreateTableActionCalledOnly
-
preDeleteTableAction
public void preDeleteTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preDeleteTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCompletedDeleteTableAction
public void postCompletedDeleteTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postCompletedDeleteTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasDeleteTableActionCalled
-
wasDeleteTableActionCalledOnly
-
preTruncateTableAction
public void preTruncateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preTruncateTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCompletedTruncateTableAction
public void postCompletedTruncateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postCompletedTruncateTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasTruncateTableActionCalled
-
wasTruncateTableActionCalledOnly
-
preModifyTableAction
public void preModifyTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) throws IOException - Specified by:
preModifyTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCompletedModifyTableAction
public void postCompletedModifyTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) throws IOException - Specified by:
postCompletedModifyTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasModifyTableActionCalled
-
wasModifyTableActionCalledOnly
-
preEnableTableAction
public void preEnableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preEnableTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCompletedEnableTableAction
public void postCompletedEnableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postCompletedEnableTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasEnableTableActionCalled
-
preEnableTableActionCalledOnly
-
preDisableTableAction
public void preDisableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preDisableTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCompletedDisableTableAction
public void postCompletedDisableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postCompletedDisableTableAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasDisableTableActionCalled
-
preDisableTableActionCalledOnly
-
preGetTableDescriptors
public void preGetTableDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.TableName> tableNamesList, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) throws IOException - Specified by:
preGetTableDescriptors
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postGetTableDescriptors
public void postGetTableDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.TableName> tableNamesList, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) throws IOException - Specified by:
postGetTableDescriptors
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasGetTableDescriptorsCalled
-
preGetTableNames
public void preGetTableNames(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) throws IOException - Specified by:
preGetTableNames
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postGetTableNames
public void postGetTableNames(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) throws IOException - Specified by:
postGetTableNames
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
wasGetTableNamesCalled
-
preTableFlush
public void preTableFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
preTableFlush
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postTableFlush
public void postTableFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
postTableFlush
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preMasterStoreFlush
public void preMasterStoreFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
preMasterStoreFlush
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postMasterStoreFlush
public void postMasterStoreFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
postMasterStoreFlush
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preSetUserQuota
public void preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
preSetUserQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postSetUserQuota
public void postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
postSetUserQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preSetUserQuota
public void preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
preSetUserQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postSetUserQuota
public void postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
postSetUserQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preSetUserQuota
public void preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
preSetUserQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postSetUserQuota
public void postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
postSetUserQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preSetTableQuota
public void preSetTableQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
preSetTableQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postSetTableQuota
public void postSetTableQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
postSetTableQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preSetNamespaceQuota
public void preSetNamespaceQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
preSetNamespaceQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postSetNamespaceQuota
public void postSetNamespaceQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException - Specified by:
postSetNamespaceQuota
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preMoveServersAndTables
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 - Specified by:
preMoveServersAndTables
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postMoveServersAndTables
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 - Specified by:
postMoveServersAndTables
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preMoveServers
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 - Specified by:
preMoveServers
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postMoveServers
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 - Specified by:
postMoveServers
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preMoveTables
public void preMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroupGroup) throws IOException - Specified by:
preMoveTables
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postMoveTables
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 - Specified by:
postMoveTables
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preAddRSGroup
public void preAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException - Specified by:
preAddRSGroup
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postAddRSGroup
public void postAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException - Specified by:
postAddRSGroup
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preRemoveRSGroup
public void preRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException - Specified by:
preRemoveRSGroup
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postRemoveRSGroup
public void postRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException - Specified by:
postRemoveRSGroup
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preBalanceRSGroup
public void preBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, org.apache.hadoop.hbase.client.BalanceRequest request) throws IOException - Specified by:
preBalanceRSGroup
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postBalanceRSGroup
public void postBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, org.apache.hadoop.hbase.client.BalanceRequest request, org.apache.hadoop.hbase.client.BalanceResponse response) throws IOException - Specified by:
postBalanceRSGroup
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preRequestLock
public void preRequestLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.RegionInfo[] regionInfos, String description) throws IOException - Specified by:
preRequestLock
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postRequestLock
public void postRequestLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.RegionInfo[] regionInfos, String description) throws IOException - Specified by:
postRequestLock
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preLockHeartbeat
public void preLockHeartbeat(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tn, String description) throws IOException - Specified by:
preLockHeartbeat
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postLockHeartbeat
public void postLockHeartbeat(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
postLockHeartbeat
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preAndPostForQueueLockAndHeartbeatLockCalled
-
preSplitRegion
public void preSplitRegion(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.TableName tableName, byte[] splitRow) throws IOException - Specified by:
preSplitRegion
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preSplitRegionAction
public void preSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.TableName tableName, byte[] splitRow) throws IOException - Specified by:
preSplitRegionAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCompletedSplitRegionAction
public void postCompletedSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.RegionInfo regionInfoA, org.apache.hadoop.hbase.client.RegionInfo regionInfoB) throws IOException - Specified by:
postCompletedSplitRegionAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preSplitRegionBeforeMETAAction
public void preSplitRegionBeforeMETAAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, byte[] splitKey, List<org.apache.hadoop.hbase.client.Mutation> metaEntries) throws IOException - Specified by:
preSplitRegionBeforeMETAAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preSplitRegionAfterMETAAction
public void preSplitRegionAfterMETAAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
preSplitRegionAfterMETAAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postRollBackSplitRegionAction
public void postRollBackSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException - Specified by:
postRollBackSplitRegionAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preMergeRegionsAction
public void preMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) throws IOException - Specified by:
preMergeRegionsAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postCompletedMergeRegionsAction
public void postCompletedMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, org.apache.hadoop.hbase.client.RegionInfo mergedRegion) throws IOException - Specified by:
postCompletedMergeRegionsAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preMergeRegionsCommitAction
public void preMergeRegionsCommitAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, List<org.apache.hadoop.hbase.client.Mutation> metaEntries) throws IOException - Specified by:
preMergeRegionsCommitAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postMergeRegionsCommitAction
public void postMergeRegionsCommitAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, org.apache.hadoop.hbase.client.RegionInfo mergedRegion) throws IOException - Specified by:
postMergeRegionsCommitAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postRollBackMergeRegionsAction
public void postRollBackMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) throws IOException - Specified by:
postRollBackMergeRegionsAction
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
preUpdateMasterConfiguration
public void preUpdateMasterConfiguration(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration preReloadConf) throws IOException - Specified by:
preUpdateMasterConfiguration
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-
postUpdateMasterConfiguration
public void postUpdateMasterConfiguration(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration postReloadConf) throws IOException - Specified by:
postUpdateMasterConfiguration
in interfaceorg.apache.hadoop.hbase.coprocessor.MasterObserver
- Throws:
IOException
-