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