Uses of Interface
org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment
Package
Description
Table of Contents
-
Uses of MasterCoprocessorEnvironment in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault void
MasterObserver.postAbortProcedure
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called after a abortProcedure request has been processed.default void
MasterObserver.postAddReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, ReplicationPeerConfig peerConfig) Called after add a replication peerdefault void
MasterObserver.postAddRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) Called after a new region server group is addeddefault void
MasterObserver.postAssign
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo regionInfo) Called after the region assignment has been requested.default void
MasterObserver.postBalance
(ObserverContext<MasterCoprocessorEnvironment> ctx, BalanceRequest request, List<RegionPlan> plans) Called after the balancing plan has been submitted.default void
MasterObserver.postBalanceRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName, BalanceRequest request, BalanceResponse response) Called after a region server group is removeddefault void
MasterObserver.postBalanceSwitch
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean oldValue, boolean newValue) Called after the flag to enable/disable balancing has changed.default void
MasterObserver.postClearDeadServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<ServerName> servers, List<ServerName> notClearedServers) Called after clear dead region servers.default void
MasterObserver.postCloneSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor tableDescriptor) Called after a snapshot clone operation has been requested.default void
MasterObserver.postCompletedCreateTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor desc, RegionInfo[] regions) Called after the createTable operation has been requested.default void
MasterObserver.postCompletedDeleteTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called afterHMaster
deletes a table.default void
MasterObserver.postCompletedDisableTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called after the disableTable operation has been requested.default void
MasterObserver.postCompletedEnableTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called after the enableTable operation has been requested.default void
MasterObserver.postCompletedMergeRegionsAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge, RegionInfo mergedRegion) called after the regions merge.default void
MasterObserver.postCompletedModifyTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, TableDescriptor oldDescriptor, TableDescriptor currentDescriptor) Called after to modifying a table's properties.default void
MasterObserver.postCompletedSnapshotAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor tableDescriptor) Called after the snapshot operation has been completed.default void
MasterObserver.postCompletedSplitRegionAction
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfoA, RegionInfo regionInfoB) Called after the region is split.default void
MasterObserver.postCompletedTruncateTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called afterHMaster
truncates a table.default void
MasterObserver.postCreateNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, NamespaceDescriptor ns) Called after the createNamespace operation has been requested.default void
MasterObserver.postCreateTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor desc, RegionInfo[] regions) Called after the createTable operation has been requested.default void
MasterObserver.postDecommissionRegionServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<ServerName> servers, boolean offload) Called after decommission region servers.default void
MasterObserver.postDeleteNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) Called after the deleteNamespace operation has been requested.default void
MasterObserver.postDeleteSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) Called after the delete snapshot operation has been requested.default void
MasterObserver.postDeleteTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called after the deleteTable operation has been requested.default void
MasterObserver.postDisableReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) Called after disable a replication peerdefault void
MasterObserver.postDisableTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called after the disableTable operation has been requested.default void
MasterObserver.postEnableReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) Called after enable a replication peerdefault void
MasterObserver.postEnableTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called after the enableTable operation has been requested.default void
MasterObserver.postGetClusterMetrics
(ObserverContext<MasterCoprocessorEnvironment> ctx, ClusterMetrics status) Called after get cluster status.default void
MasterObserver.postGetConfiguredNamespacesAndTablesInRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) Called after getting the configured namespaces and tables in the region server group.default void
MasterObserver.postGetLocks
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called after a getLocks request has been processed.default void
MasterObserver.postGetNamespaceDescriptor
(ObserverContext<MasterCoprocessorEnvironment> ctx, NamespaceDescriptor ns) Called after a getNamespaceDescriptor request has been processed.default void
MasterObserver.postGetProcedures
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called after a getProcedures request has been processed.default void
MasterObserver.postGetReplicationPeerConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) Called after get the configured ReplicationPeerConfig for the specified peerdefault void
MasterObserver.postGetRSGroupInfo
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) Called after getting region server group info of the passed groupName.default void
MasterObserver.postGetRSGroupInfoOfServer
(ObserverContext<MasterCoprocessorEnvironment> ctx, Address server) Called after getting region server group info of the passed server.default void
MasterObserver.postGetRSGroupInfoOfTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called after getting region server group info of the passed tableName.default void
MasterObserver.postGetTableDescriptors
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableName> tableNamesList, List<TableDescriptor> descriptors, String regex) Called after a getTableDescriptors request has been processed.default void
MasterObserver.postGetTableNames
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableDescriptor> descriptors, String regex) Called after a getTableNames request has been processed.default void
MasterObserver.postGetUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, String namespace, TableName tableName, byte[] family, byte[] qualifier) Called after getting user permissions.default void
MasterObserver.postGrant
(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission, boolean mergeExistingPermissions) Called after granting user permissions.default void
MasterObserver.postHasUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, List<Permission> permissions) Called after checking if user has permissions.default void
MasterObserver.postIsRpcThrottleEnabled
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean rpcThrottleEnabled) Called after getting if is rpc throttle enabled.default void
MasterObserver.postListDecommissionedRegionServers
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called after list decommissioned region servers.default void
MasterObserver.postListNamespaceDescriptors
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<NamespaceDescriptor> descriptors) Called after a listNamespaceDescriptors request has been processed.default void
MasterObserver.postListNamespaces
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<String> namespaces) Called after a listNamespaces request has been processed.default void
MasterObserver.postListReplicationPeers
(ObserverContext<MasterCoprocessorEnvironment> ctx, String regex) Called after list replication peers.default void
MasterObserver.postListRSGroups
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called after listing region server group information.default void
MasterObserver.postListSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) Called after listSnapshots request has been processed.default void
MasterObserver.postListTablesInRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) Called after listing all tables in the region server group.default void
MasterObserver.postLockHeartbeat
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called after heartbeat to a lock.default void
MasterObserver.postMasterStoreFlush
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called after the master local region memstore is flushed to disk.default void
MasterObserver.postMergeRegions
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo[] regionsToMerge) called after merge regions request.default void
MasterObserver.postMergeRegionsCommitAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge, RegionInfo mergedRegion) This will be called after META step as part of regions merge transaction.default void
MasterObserver.postModifyColumnFamilyStoreFileTracker
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, byte[] family, String dstSFT) Called after modifying a family store file tracker.default void
MasterObserver.postModifyNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, NamespaceDescriptor oldNsDescriptor, NamespaceDescriptor currentNsDescriptor) Called after the modifyNamespace operation has been requested.default void
MasterObserver.postModifyTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, TableDescriptor oldDescriptor, TableDescriptor currentDescriptor) Called after the modifyTable operation has been requested.default void
MasterObserver.postModifyTableStoreFileTracker
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, String dstSFT) Called after modifying a table's store file tracker.default void
MasterObserver.postMove
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo region, ServerName srcServer, ServerName destServer) Called after the region move has been requested.default void
MasterObserver.postMoveServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, String targetGroup) Called after servers are moved to target region server groupdefault void
MasterObserver.postMoveServersAndTables
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, Set<TableName> tables, String targetGroup) Called after servers are moved to target region server groupdefault void
MasterObserver.postMoveTables
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<TableName> tables, String targetGroup) Called after servers are moved to target region server groupdefault void
MasterObserver.postRecommissionRegionServer
(ObserverContext<MasterCoprocessorEnvironment> ctx, ServerName server, List<byte[]> encodedRegionNames) Called after recommission region server.default void
MasterObserver.postRegionOffline
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo regionInfo) Called after the region has been marked offline.default void
MasterObserver.postRemoveReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) Called after remove a replication peerdefault void
MasterObserver.postRemoveRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) Called after a region server group is removeddefault void
MasterObserver.postRemoveServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers) Called after servers are removed from rsgroupdefault void
MasterObserver.postRenameRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String oldName, String newName) Called after rename rsgroup.default void
MasterObserver.postRequestLock
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, TableName tableName, RegionInfo[] regionInfos, String description) Called after new LockProcedure is queued.default void
MasterObserver.postRestoreSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor tableDescriptor) Called after a snapshot restore operation has been requested.default void
MasterObserver.postRevoke
(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission) Called after revoking user permissions.default void
MasterObserver.postRollBackMergeRegionsAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge) This will be called after the roll back of the regions merge.default void
MasterObserver.postRollBackSplitRegionAction
(ObserverContext<MasterCoprocessorEnvironment> ctx) This will be called after the roll back of the split region is completeddefault void
MasterObserver.postSetNamespaceQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, GlobalQuotaSettings quotas) Called after the quota for the namespace is stored.default void
MasterObserver.postSetRegionServerQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String regionServer, GlobalQuotaSettings quotas) Called after the quota for the region server is stored.default void
MasterObserver.postSetSplitOrMergeEnabled
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean newValue, MasterSwitchType switchType) Called after setting split / merge switchdefault void
MasterObserver.postSetTableQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, GlobalQuotaSettings quotas) Called after the quota for the table is stored.default void
MasterObserver.postSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, String namespace, GlobalQuotaSettings quotas) Called after the quota for the user on the specified namespace is stored.default void
MasterObserver.postSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, GlobalQuotaSettings quotas) Called after the quota for the user is stored.default void
MasterObserver.postSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, TableName tableName, GlobalQuotaSettings quotas) Called after the quota for the user on the specified table is stored.default void
MasterObserver.postSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor tableDescriptor) Called after the snapshot operation has been requested.default void
MasterObserver.postStartMaster
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called immediately after an active master instance has completed initialization.default void
MasterObserver.postSwitchExceedThrottleQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean oldValue, boolean newValue) Called after switching exceed throttle quota state.default void
MasterObserver.postSwitchRpcThrottle
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean oldValue, boolean newValue) Called after switching rpc throttle enabled state.default void
MasterObserver.postTableFlush
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called after the table memstore is flushed to disk.default void
MasterObserver.postTransitReplicationPeerSyncReplicationState
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, SyncReplicationState from, SyncReplicationState to) Called after transit current cluster state for the specified synchronous replication peerdefault void
MasterObserver.postTruncateRegion
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfo) Called after the truncate region procedure is called.default void
MasterObserver.postTruncateRegionAction
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfo) Called post the region is truncated.default void
MasterObserver.postTruncateTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called after the truncateTable operation has been requested.default void
MasterObserver.postUnassign
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo regionInfo) Called after the region unassignment has been requested.default void
MasterObserver.postUpdateMasterConfiguration
(ObserverContext<MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration postReloadConf) Called after reloading the HMaster'sConfiguration
from diskdefault void
MasterObserver.postUpdateReplicationPeerConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, ReplicationPeerConfig peerConfig) Called after update peerConfig for the specified peerdefault void
MasterObserver.postUpdateRSGroupConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName, Map<String, String> configuration) Called after update rsgroup config.default void
MasterObserver.preAbortProcedure
(ObserverContext<MasterCoprocessorEnvironment> ctx, long procId) Called before a abortProcedure request has been processed.default void
MasterObserver.preAddReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, ReplicationPeerConfig peerConfig) Called before add a replication peerdefault void
MasterObserver.preAddRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) Called before a new region server group is addeddefault void
MasterObserver.preAssign
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo regionInfo) Called prior to assigning a specific region.default void
MasterObserver.preBalance
(ObserverContext<MasterCoprocessorEnvironment> ctx, BalanceRequest request) Called prior to requesting rebalancing of the cluster regions, though after the initial checks for regions in transition and the balance switch flag.default void
MasterObserver.preBalanceRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName, BalanceRequest request) Called before a region server group is removeddefault void
MasterObserver.preBalanceSwitch
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean newValue) Called prior to modifying the flag used to enable/disable region balancing.default void
MasterObserver.preClearDeadServers
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called before clear dead region servers.default void
MasterObserver.preCloneSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor tableDescriptor) Called before a snapshot is cloned.default void
MasterObserver.preCreateNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, NamespaceDescriptor ns) Called before a new namespace is created byHMaster
.default void
MasterObserver.preCreateTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor desc, RegionInfo[] regions) Called before a new table is created byHMaster
.default void
MasterObserver.preCreateTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor desc, RegionInfo[] regions) Called before a new table is created byHMaster
.default TableDescriptor
MasterObserver.preCreateTableRegionsInfos
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor desc) Called before we create the region infos for this table.default void
MasterObserver.preDecommissionRegionServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<ServerName> servers, boolean offload) Called before decommission region servers.default void
MasterObserver.preDeleteNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) Called beforeHMaster
deletes a namespacedefault void
MasterObserver.preDeleteSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) Called before a snapshot is deleted.default void
MasterObserver.preDeleteTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called beforeHMaster
deletes a table.default void
MasterObserver.preDeleteTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called beforeHMaster
deletes a table.default void
MasterObserver.preDisableReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) Called before disable a replication peerdefault void
MasterObserver.preDisableTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called prior to disabling a table.default void
MasterObserver.preDisableTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called prior to disabling a table.default void
MasterObserver.preEnableReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) Called before enable a replication peerdefault void
MasterObserver.preEnableTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called prior to enabling a table.default void
MasterObserver.preEnableTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called prior to enabling a table.default void
MasterObserver.preGetClusterMetrics
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called before get cluster status.default void
MasterObserver.preGetConfiguredNamespacesAndTablesInRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) Called before getting the configured namespaces and tables in the region server group.default void
MasterObserver.preGetLocks
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called before a getLocks request has been processed.default void
MasterObserver.preGetNamespaceDescriptor
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) Called before a getNamespaceDescriptor request has been processed.default void
MasterObserver.preGetProcedures
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called before a getProcedures request has been processed.default void
MasterObserver.preGetReplicationPeerConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) Called before get the configured ReplicationPeerConfig for the specified peerdefault void
MasterObserver.preGetRSGroupInfo
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) Called before getting region server group info of the passed groupName.default void
MasterObserver.preGetRSGroupInfoOfServer
(ObserverContext<MasterCoprocessorEnvironment> ctx, Address server) Called before getting region server group info of the passed server.default void
MasterObserver.preGetRSGroupInfoOfTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called before getting region server group info of the passed tableName.default void
MasterObserver.preGetTableDescriptors
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableName> tableNamesList, List<TableDescriptor> descriptors, String regex) Called before a getTableDescriptors request has been processed.default void
MasterObserver.preGetTableNames
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableDescriptor> descriptors, String regex) Called before a getTableNames request has been processed.default void
MasterObserver.preGetUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, String namespace, TableName tableName, byte[] family, byte[] qualifier) Called before getting user permissions.default void
MasterObserver.preGrant
(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission, boolean mergeExistingPermissions) Called before granting user permissions.default void
MasterObserver.preHasUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, List<Permission> permissions) default void
MasterObserver.preIsRpcThrottleEnabled
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called before getting if is rpc throttle enabled.default void
MasterObserver.preListDecommissionedRegionServers
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called before list decommissioned region servers.default void
MasterObserver.preListNamespaceDescriptors
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<NamespaceDescriptor> descriptors) Called before a listNamespaceDescriptors request has been processed.default void
MasterObserver.preListNamespaces
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<String> namespaces) Called before a listNamespaces request has been processed.default void
MasterObserver.preListReplicationPeers
(ObserverContext<MasterCoprocessorEnvironment> ctx, String regex) Called before list replication peers.default void
MasterObserver.preListRSGroups
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called before listing region server group information.default void
MasterObserver.preListSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) Called before listSnapshots request has been processed.default void
MasterObserver.preListTablesInRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) Called before listing all tables in the region server group.default void
MasterObserver.preLockHeartbeat
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tn, String description) Called before heartbeat to a lock.default void
MasterObserver.preMasterInitialization
(ObserverContext<MasterCoprocessorEnvironment> ctx) Call before the master initialization is set to true.default void
MasterObserver.preMasterStoreFlush
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called before the master local region memstore is flushed to disk.default void
MasterObserver.preMergeRegions
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge) Called before merge regions request.default void
MasterObserver.preMergeRegionsAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge) Called before the regions merge.default void
MasterObserver.preMergeRegionsCommitAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge, List<Mutation> metaEntries) This will be called before update META step as part of regions merge transaction.default String
MasterObserver.preModifyColumnFamilyStoreFileTracker
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, byte[] family, String dstSFT) Called prior to modifying a family's store file tracker.default void
MasterObserver.preModifyNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, NamespaceDescriptor currentNsDescriptor, NamespaceDescriptor newNsDescriptor) Called prior to modifying a namespace's properties.default TableDescriptor
MasterObserver.preModifyTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, TableDescriptor currentDescriptor, TableDescriptor newDescriptor) Called prior to modifying a table's properties.default void
MasterObserver.preModifyTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, TableDescriptor currentDescriptor, TableDescriptor newDescriptor) Called prior to modifying a table's properties.default String
MasterObserver.preModifyTableStoreFileTracker
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, String dstSFT) Called prior to modifying a table's store file tracker.default void
MasterObserver.preMove
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo region, ServerName srcServer, ServerName destServer) Called prior to moving a given region from one region server to another.default void
MasterObserver.preMoveServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, String targetGroup) Called before servers are moved to target region server groupdefault void
MasterObserver.preMoveServersAndTables
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, Set<TableName> tables, String targetGroup) Called before servers are moved to target region server groupdefault void
MasterObserver.preMoveTables
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<TableName> tables, String targetGroup) Called before tables are moved to target region server groupdefault void
MasterObserver.preRecommissionRegionServer
(ObserverContext<MasterCoprocessorEnvironment> ctx, ServerName server, List<byte[]> encodedRegionNames) Called before recommission region server.default void
MasterObserver.preRegionOffline
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo regionInfo) Called prior to marking a given region as offline.default void
MasterObserver.preRemoveReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) Called before remove a replication peerdefault void
MasterObserver.preRemoveRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) Called before a region server group is removeddefault void
MasterObserver.preRemoveServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers) Called before servers are removed from rsgroupdefault void
MasterObserver.preRenameRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String oldName, String newName) Called before rename rsgroup.default void
MasterObserver.preRequestLock
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, TableName tableName, RegionInfo[] regionInfos, String description) Called before new LockProcedure is queued.default void
MasterObserver.preRestoreSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor tableDescriptor) Called before a snapshot is restored.default void
MasterObserver.preRevoke
(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission) Called before revoking user permissions.default void
MasterObserver.preSetNamespaceQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, GlobalQuotaSettings quotas) Called before the quota for the namespace is stored.default void
MasterObserver.preSetRegionServerQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String regionServer, GlobalQuotaSettings quotas) Called before the quota for the region server is stored.default void
MasterObserver.preSetSplitOrMergeEnabled
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean newValue, MasterSwitchType switchType) Called prior to setting split / merge switch Supports Coprocessor 'bypass'.default void
MasterObserver.preSetTableQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, GlobalQuotaSettings quotas) Called before the quota for the table is stored.default void
MasterObserver.preSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, String namespace, GlobalQuotaSettings quotas) Called before the quota for the user on the specified namespace is stored.default void
MasterObserver.preSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, GlobalQuotaSettings quotas) Called before the quota for the user is stored.default void
MasterObserver.preSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, TableName tableName, GlobalQuotaSettings quotas) Called before the quota for the user on the specified table is stored.default void
MasterObserver.preShutdown
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called prior to shutting down the full HBase cluster, including thisHMaster
process.default void
MasterObserver.preSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor tableDescriptor) Called before a new snapshot is taken.default void
MasterObserver.preSplitRegion
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName, byte[] splitRow) Called before the split region procedure is called.default void
MasterObserver.preSplitRegionAction
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName, byte[] splitRow) Called before the region is split.default void
MasterObserver.preSplitRegionAfterMETAAction
(ObserverContext<MasterCoprocessorEnvironment> ctx) This will be called after update META step as part of split transactiondefault void
MasterObserver.preSplitRegionBeforeMETAAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] splitKey, List<Mutation> metaEntries) This will be called before update META step as part of split transaction.default void
MasterObserver.preStopMaster
(ObserverContext<MasterCoprocessorEnvironment> ctx) Called immediately prior to stopping thisHMaster
process.default void
MasterObserver.preSwitchExceedThrottleQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean enable) Called before switching exceed throttle quota state.default void
MasterObserver.preSwitchRpcThrottle
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean enable) Called before switching rpc throttle enabled state.default void
MasterObserver.preTableFlush
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called before the table memstore is flushed to disk.default void
MasterObserver.preTransitReplicationPeerSyncReplicationState
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, SyncReplicationState state) Called before transit current cluster state for the specified synchronous replication peerdefault void
MasterObserver.preTruncateRegion
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfo) Called before the truncate region procedure is called.default void
MasterObserver.preTruncateRegionAction
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfo) Called before the region is truncated.default void
MasterObserver.preTruncateTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called beforeHMaster
truncates a table.default void
MasterObserver.preTruncateTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) Called beforeHMaster
truncates a table.default void
MasterObserver.preUnassign
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo regionInfo) Called prior to unassigning a given region.default void
MasterObserver.preUpdateMasterConfiguration
(ObserverContext<MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration preReloadConf) Called before reloading the HMaster'sConfiguration
from diskdefault void
MasterObserver.preUpdateReplicationPeerConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, ReplicationPeerConfig peerConfig) Called before update peerConfig for the specified peerdefault void
MasterObserver.preUpdateRSGroupConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName, Map<String, String> configuration) Called before update rsgroup config. -
Uses of MasterCoprocessorEnvironment in org.apache.hadoop.hbase.coprocessor.example
Modifier and TypeMethodDescriptionvoid
ExampleMasterObserverWithMetrics.postCreateTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor desc, RegionInfo[] regions) void
ExampleMasterObserverWithMetrics.preCreateTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor desc, RegionInfo[] regions) void
ExampleMasterObserverWithMetrics.preDisableTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) -
Uses of MasterCoprocessorEnvironment in org.apache.hadoop.hbase.master
Modifier and TypeClassDescriptionprivate static class
Coprocessor environment extension providing access to master related services.private static class
Special version of MasterEnvironment that exposes MasterServices for Core Coprocessors only. -
Uses of MasterCoprocessorEnvironment in org.apache.hadoop.hbase.quotas
Modifier and TypeMethodDescriptionvoid
MasterQuotasObserver.postDeleteNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) void
MasterQuotasObserver.postDeleteTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) -
Uses of MasterCoprocessorEnvironment in org.apache.hadoop.hbase.security.access
Modifier and TypeMethodDescriptionvoid
AccessController.postAbortProcedure
(ObserverContext<MasterCoprocessorEnvironment> ctx) void
AccessController.postCompletedCreateTableAction
(ObserverContext<MasterCoprocessorEnvironment> c, TableDescriptor desc, RegionInfo[] regions) void
SnapshotScannerHDFSAclController.postCompletedCreateTableAction
(ObserverContext<MasterCoprocessorEnvironment> c, TableDescriptor desc, RegionInfo[] regions) void
SnapshotScannerHDFSAclController.postCompletedDeleteTableAction
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) void
SnapshotScannerHDFSAclController.postCompletedSnapshotAction
(ObserverContext<MasterCoprocessorEnvironment> c, SnapshotDescription snapshot, TableDescriptor tableDescriptor) void
SnapshotScannerHDFSAclController.postCompletedTruncateTableAction
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName) void
SnapshotScannerHDFSAclController.postCreateNamespace
(ObserverContext<MasterCoprocessorEnvironment> c, NamespaceDescriptor ns) void
AccessController.postDeleteNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) void
SnapshotScannerHDFSAclController.postDeleteNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) void
AccessController.postDeleteTable
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName) void
AccessController.postGetTableDescriptors
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableName> tableNamesList, List<TableDescriptor> descriptors, String regex) void
AccessController.postGetTableNames
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableDescriptor> descriptors, String regex) void
SnapshotScannerHDFSAclController.postGrant
(ObserverContext<MasterCoprocessorEnvironment> c, UserPermission userPermission, boolean mergeExistingPermissions) void
AccessController.postListNamespaceDescriptors
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<NamespaceDescriptor> descriptors) void
AccessController.postListNamespaces
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<String> namespaces) void
AccessController.postModifyTable
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName, TableDescriptor oldDesc, TableDescriptor currentDesc) void
SnapshotScannerHDFSAclController.postModifyTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, TableDescriptor oldDescriptor, TableDescriptor currentDescriptor) void
SnapshotScannerHDFSAclController.postRevoke
(ObserverContext<MasterCoprocessorEnvironment> c, UserPermission userPermission) void
AccessController.postStartMaster
(ObserverContext<MasterCoprocessorEnvironment> ctx) void
SnapshotScannerHDFSAclController.postStartMaster
(ObserverContext<MasterCoprocessorEnvironment> c) void
AccessController.postTruncateTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) void
AccessController.preAbortProcedure
(ObserverContext<MasterCoprocessorEnvironment> ctx, long procId) void
AccessController.preAddReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, ReplicationPeerConfig peerConfig) void
AccessController.preAddRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) void
AccessController.preAssign
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfo) void
AccessController.preBalance
(ObserverContext<MasterCoprocessorEnvironment> c, BalanceRequest request) void
AccessController.preBalanceRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName, BalanceRequest request) void
AccessController.preBalanceSwitch
(ObserverContext<MasterCoprocessorEnvironment> c, boolean newValue) void
AccessController.preClearDeadServers
(ObserverContext<MasterCoprocessorEnvironment> ctx) void
AccessController.preCloneSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) void
AccessController.preCreateNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, NamespaceDescriptor ns) void
AccessController.preCreateTable
(ObserverContext<MasterCoprocessorEnvironment> c, TableDescriptor desc, RegionInfo[] regions) Observer implementationsvoid
CoprocessorWhitelistMasterObserver.preCreateTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor htd, RegionInfo[] regions) void
AccessController.preDecommissionRegionServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<ServerName> servers, boolean offload) void
AccessController.preDeleteNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) void
AccessController.preDeleteSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) void
AccessController.preDeleteTable
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName) void
AccessController.preDisableReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) void
AccessController.preDisableTable
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName) void
AccessController.preEnableReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) void
AccessController.preEnableTable
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName) void
AccessController.preGetConfiguredNamespacesAndTablesInRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) void
AccessController.preGetLocks
(ObserverContext<MasterCoprocessorEnvironment> ctx) void
AccessController.preGetNamespaceDescriptor
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace) void
AccessController.preGetProcedures
(ObserverContext<MasterCoprocessorEnvironment> ctx) void
AccessController.preGetReplicationPeerConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) void
AccessController.preGetRSGroupInfo
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) void
AccessController.preGetRSGroupInfoOfServer
(ObserverContext<MasterCoprocessorEnvironment> ctx, Address server) void
AccessController.preGetRSGroupInfoOfTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) void
AccessController.preGetTableDescriptors
(ObserverContext<MasterCoprocessorEnvironment> ctx, List<TableName> tableNamesList, List<TableDescriptor> descriptors, String regex) void
AccessController.preGetUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, String namespace, TableName tableName, byte[] family, byte[] qualifier) void
AccessController.preGrant
(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission, boolean mergeExistingPermissions) void
AccessController.preHasUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, List<Permission> permissions) void
AccessController.preIsRpcThrottleEnabled
(ObserverContext<MasterCoprocessorEnvironment> ctx) void
AccessController.preListDecommissionedRegionServers
(ObserverContext<MasterCoprocessorEnvironment> ctx) void
AccessController.preListReplicationPeers
(ObserverContext<MasterCoprocessorEnvironment> ctx, String regex) void
AccessController.preListRSGroups
(ObserverContext<MasterCoprocessorEnvironment> ctx) void
AccessController.preListSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot) void
AccessController.preListTablesInRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName) void
AccessController.preLockHeartbeat
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, String description) void
SnapshotScannerHDFSAclController.preMasterInitialization
(ObserverContext<MasterCoprocessorEnvironment> c) void
AccessController.preMergeRegions
(ObserverContext<MasterCoprocessorEnvironment> ctx, RegionInfo[] regionsToMerge) AccessController.preModifyColumnFamilyStoreFileTracker
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName, byte[] family, String dstSFT) void
AccessController.preModifyNamespace
(ObserverContext<MasterCoprocessorEnvironment> ctx, NamespaceDescriptor currentNsDesc, NamespaceDescriptor newNsDesc) AccessController.preModifyTable
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName, TableDescriptor currentDesc, TableDescriptor newDesc) CoprocessorWhitelistMasterObserver.preModifyTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, TableDescriptor currentDesc, TableDescriptor newDesc) AccessController.preModifyTableStoreFileTracker
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName, String dstSFT) void
AccessController.preMove
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo region, ServerName srcServer, ServerName destServer) void
AccessController.preMoveServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, String targetGroup) void
AccessController.preMoveServersAndTables
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers, Set<TableName> tables, String targetGroup) void
AccessController.preMoveTables
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<TableName> tables, String targetGroup) void
AccessController.preRecommissionRegionServer
(ObserverContext<MasterCoprocessorEnvironment> ctx, ServerName server, List<byte[]> encodedRegionNames) void
AccessController.preRegionOffline
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfo) void
AccessController.preRemoveReplicationPeer
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId) void
AccessController.preRemoveRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String name) void
AccessController.preRemoveServers
(ObserverContext<MasterCoprocessorEnvironment> ctx, Set<Address> servers) void
AccessController.preRenameRSGroup
(ObserverContext<MasterCoprocessorEnvironment> ctx, String oldName, String newName) void
AccessController.preRequestLock
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, TableName tableName, RegionInfo[] regionInfos, String description) void
AccessController.preRestoreSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) void
AccessController.preRevoke
(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission) void
AccessController.preSetNamespaceQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String namespace, GlobalQuotaSettings quotas) void
AccessController.preSetRegionServerQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String regionServer, GlobalQuotaSettings quotas) void
AccessController.preSetSplitOrMergeEnabled
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean newValue, MasterSwitchType switchType) void
AccessController.preSetTableQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, GlobalQuotaSettings quotas) void
AccessController.preSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, String namespace, GlobalQuotaSettings quotas) void
AccessController.preSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, GlobalQuotaSettings quotas) void
AccessController.preSetUserQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, TableName tableName, GlobalQuotaSettings quotas) void
AccessController.preShutdown
(ObserverContext<MasterCoprocessorEnvironment> c) void
AccessController.preSnapshot
(ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription snapshot, TableDescriptor hTableDescriptor) void
AccessController.preSplitRegion
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, byte[] splitRow) void
AccessController.preStopMaster
(ObserverContext<MasterCoprocessorEnvironment> c) void
SnapshotScannerHDFSAclController.preStopMaster
(ObserverContext<MasterCoprocessorEnvironment> c) void
AccessController.preSwitchExceedThrottleQuota
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean enable) void
AccessController.preSwitchRpcThrottle
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean enable) void
AccessController.preTableFlush
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) void
AccessController.preTransitReplicationPeerSyncReplicationState
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, SyncReplicationState clusterState) void
AccessController.preTruncateTable
(ObserverContext<MasterCoprocessorEnvironment> c, TableName tableName) void
AccessController.preUnassign
(ObserverContext<MasterCoprocessorEnvironment> c, RegionInfo regionInfo) void
AccessController.preUpdateMasterConfiguration
(ObserverContext<MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration preReloadConf) void
AccessController.preUpdateReplicationPeerConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String peerId, ReplicationPeerConfig peerConfig) void
AccessController.preUpdateRSGroupConfig
(ObserverContext<MasterCoprocessorEnvironment> ctx, String groupName, Map<String, String> configuration) private static void
CoprocessorWhitelistMasterObserver.verifyCoprocessors
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableDescriptor htd) Perform the validation checks for a coprocessor to determine if the path is white listed or not. -
Uses of MasterCoprocessorEnvironment in org.apache.hadoop.hbase.security.visibility
Modifier and TypeMethodDescriptionvoid
VisibilityController.postSetSplitOrMergeEnabled
(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean newValue, MasterSwitchType switchType) void
VisibilityController.postStartMaster
(ObserverContext<MasterCoprocessorEnvironment> ctx) Master related hooksvoid
VisibilityController.preDisableTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName) VisibilityController.preModifyTable
(ObserverContext<MasterCoprocessorEnvironment> ctx, TableName tableName, TableDescriptor currentDescriptor, TableDescriptor newDescriptor)