Class TestMasterObserver.CPMasterObserver

java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestMasterObserver.CPMasterObserver
All Implemented Interfaces:
org.apache.hadoop.hbase.Coprocessor, org.apache.hadoop.hbase.coprocessor.MasterCoprocessor, org.apache.hadoop.hbase.coprocessor.MasterObserver
Enclosing class:
TestMasterObserver

public static class TestMasterObserver.CPMasterObserver extends Object implements org.apache.hadoop.hbase.coprocessor.MasterCoprocessor, org.apache.hadoop.hbase.coprocessor.MasterObserver
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor

    org.apache.hadoop.hbase.Coprocessor.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     
    private boolean
     

    Fields inherited from interface org.apache.hadoop.hbase.Coprocessor

    PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.apache.hadoop.hbase.coprocessor.MasterObserver>
     
    void
    postAbortProcedure(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    postAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name)
     
    void
    postAssign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    void
    postBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.BalanceRequest request, List<org.apache.hadoop.hbase.master.RegionPlan> plans)
     
    void
    postBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, org.apache.hadoop.hbase.client.BalanceRequest request, org.apache.hadoop.hbase.client.BalanceResponse response)
     
    void
    postBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean oldValue, boolean newValue)
     
    void
    postCloneSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor)
     
    void
    postCompletedCreateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions)
     
    void
    postCompletedDeleteTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postCompletedDisableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postCompletedEnableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postCompletedMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, org.apache.hadoop.hbase.client.RegionInfo mergedRegion)
     
    void
    postCompletedModifyTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor)
     
    void
    postCompletedSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.RegionInfo regionInfoA, org.apache.hadoop.hbase.client.RegionInfo regionInfoB)
     
    void
    postCompletedTruncateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postCreateNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns)
     
    void
    postCreateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions)
     
    void
    postDeleteNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name)
     
    void
    postDeleteSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot)
     
    void
    postDeleteTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postDisableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postEnableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postGetLocks(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    postGetNamespaceDescriptor(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.NamespaceDescriptor ns)
     
    void
    postGetProcedures(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    postGetTableDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.TableName> tableNamesList, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex)
     
    void
    postGetTableNames(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex)
     
    void
    postListNamespaceDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.NamespaceDescriptor> descriptors)
     
    void
    postListNamespaces(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces)
     
    void
    postListSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot)
     
    void
    postLockHeartbeat(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    postMasterStoreFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    postMergeRegions(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge)
     
    void
    postMergeRegionsCommitAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, org.apache.hadoop.hbase.client.RegionInfo mergedRegion)
     
    void
    postModifyNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor oldNsDesc, org.apache.hadoop.hbase.NamespaceDescriptor currentNsDesc)
     
    void
    postModifyTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor)
     
    void
    postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer)
     
    void
    postMoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup)
     
    void
    postMoveServersAndTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup)
     
    void
    postMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup)
     
    void
    postRegionOffline(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    void
    postRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name)
     
    void
    postRequestLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.RegionInfo[] regionInfos, String description)
     
    void
    postRestoreSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor)
     
    void
    postRollBackMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge)
     
    void
    postRollBackSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    postSetNamespaceQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    postSetSplitOrMergeEnabled(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, boolean newValue, org.apache.hadoop.hbase.client.MasterSwitchType switchType)
     
    void
    postSetTableQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    postSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor)
     
    void
    postStartMaster(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    postTableFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postTruncateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    void
    postUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    void
    postUpdateMasterConfiguration(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration postReloadConf)
     
    void
    preAbortProcedure(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, long procId)
     
    void
    preAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name)
     
    boolean
     
    void
    preAssign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    boolean
     
    void
    preBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.BalanceRequest request)
     
    boolean
     
    void
    preBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, org.apache.hadoop.hbase.client.BalanceRequest request)
     
    void
    preBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean b)
     
    boolean
     
    void
    preCloneSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor)
     
    void
    preCreateNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns)
     
    boolean
     
    void
    preCreateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions)
     
    void
    preCreateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions)
     
    boolean
     
    org.apache.hadoop.hbase.client.TableDescriptor
    preCreateTableRegionsInfos(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc)
     
    void
    preDeleteNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name)
     
    boolean
     
    void
    preDeleteSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot)
     
    void
    preDeleteTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    void
    preDeleteTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    boolean
     
    void
    preDisableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    void
    preDisableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName)
     
    boolean
     
    boolean
     
    void
    preEnableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    void
    preEnableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName)
     
    boolean
     
    boolean
     
    void
    preGetLocks(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    preGetNamespaceDescriptor(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace)
     
    void
    preGetProcedures(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    preGetTableDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.TableName> tableNamesList, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex)
     
    void
    preGetTableNames(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex)
     
    void
    preListNamespaceDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.NamespaceDescriptor> descriptors)
     
    boolean
     
    void
    preListNamespaces(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces)
     
    void
    preListSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot)
     
    void
    preLockHeartbeat(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tn, String description)
     
    void
    preMasterInitialization(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    preMasterStoreFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    preMergeRegions(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge)
     
    void
    preMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge)
     
    void
    preMergeRegionsCommitAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, List<org.apache.hadoop.hbase.client.Mutation> metaEntries)
     
    void
    preModifyNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor currentNsDesc, org.apache.hadoop.hbase.NamespaceDescriptor newNsDesc)
     
    boolean
     
    org.apache.hadoop.hbase.client.TableDescriptor
    preModifyTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor)
     
    void
    preModifyTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor)
     
    boolean
     
    void
    preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer)
     
    boolean
     
    void
    preMoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup)
     
    void
    preMoveServersAndTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup)
     
    void
    preMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroupGroup)
     
    void
    preRegionOffline(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    boolean
     
    void
    preRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name)
     
    void
    preRequestLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.RegionInfo[] regionInfos, String description)
     
    void
    preRestoreSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor)
     
    void
    preSetNamespaceQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    preSetTableQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas)
     
    void
    preShutdown(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env)
     
    void
    preSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor)
     
    void
    preSplitRegion(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.TableName tableName, byte[] splitRow)
     
    void
    preSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.TableName tableName, byte[] splitRow)
     
    void
    preSplitRegionAfterMETAAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx)
     
    void
    preSplitRegionBeforeMETAAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, byte[] splitKey, List<org.apache.hadoop.hbase.client.Mutation> metaEntries)
     
    void
    preStopMaster(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env)
     
    void
    preTableFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName)
     
    void
    preTruncateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    void
    preTruncateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName)
     
    boolean
     
    void
    preUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    boolean
     
    void
    preUpdateMasterConfiguration(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration preReloadConf)
     
    void
     
    void
    start(org.apache.hadoop.hbase.CoprocessorEnvironment env)
     
    void
    stop(org.apache.hadoop.hbase.CoprocessorEnvironment env)
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.hbase.Coprocessor

    getServices

    Methods inherited from interface org.apache.hadoop.hbase.coprocessor.MasterObserver

    postAddReplicationPeer, postClearDeadServers, postCompletedSnapshotAction, postDecommissionRegionServers, postDisableReplicationPeer, postEnableReplicationPeer, postGetClusterMetrics, postGetConfiguredNamespacesAndTablesInRSGroup, postGetReplicationPeerConfig, postGetRSGroupInfo, postGetRSGroupInfoOfServer, postGetRSGroupInfoOfTable, postGetUserPermissions, postGrant, postHasUserPermissions, postIsRpcThrottleEnabled, postListDecommissionedRegionServers, postListReplicationPeers, postListRSGroups, postListTablesInRSGroup, postModifyColumnFamilyStoreFileTracker, postModifyTableStoreFileTracker, postRecommissionRegionServer, postRemoveReplicationPeer, postRemoveServers, postRenameRSGroup, postRevoke, postSetRegionServerQuota, postSwitchExceedThrottleQuota, postSwitchRpcThrottle, postTransitReplicationPeerSyncReplicationState, postTruncateRegion, postTruncateRegionAction, postUpdateReplicationPeerConfig, postUpdateRSGroupConfig, preAddReplicationPeer, preClearDeadServers, preDecommissionRegionServers, preDisableReplicationPeer, preEnableReplicationPeer, preGetClusterMetrics, preGetConfiguredNamespacesAndTablesInRSGroup, preGetReplicationPeerConfig, preGetRSGroupInfo, preGetRSGroupInfoOfServer, preGetRSGroupInfoOfTable, preGetUserPermissions, preGrant, preHasUserPermissions, preIsRpcThrottleEnabled, preListDecommissionedRegionServers, preListReplicationPeers, preListRSGroups, preListTablesInRSGroup, preModifyColumnFamilyStoreFileTracker, preModifyTableStoreFileTracker, preRecommissionRegionServer, preRemoveReplicationPeer, preRemoveServers, preRenameRSGroup, preRevoke, preSetRegionServerQuota, preSetSplitOrMergeEnabled, preSwitchExceedThrottleQuota, preSwitchRpcThrottle, preTransitReplicationPeerSyncReplicationState, preTruncateRegion, preTruncateRegionAction, preUpdateReplicationPeerConfig, preUpdateRSGroupConfig
  • Field Details

  • Constructor Details

  • Method Details

    • resetStates

      public void resetStates()
    • getMasterObserver

      public Optional<org.apache.hadoop.hbase.coprocessor.MasterObserver> getMasterObserver()
      Specified by:
      getMasterObserver in interface org.apache.hadoop.hbase.coprocessor.MasterCoprocessor
    • preMergeRegions

      public void preMergeRegions(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) throws IOException
      Specified by:
      preMergeRegions in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postMergeRegions

      public void postMergeRegions(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) throws IOException
      Specified by:
      postMergeRegions in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasMergeRegionsCalled

      public boolean wasMergeRegionsCalled()
    • preCreateTableRegionsInfos

      public org.apache.hadoop.hbase.client.TableDescriptor preCreateTableRegionsInfos(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc) throws IOException
      Specified by:
      preCreateTableRegionsInfos in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preCreateTable

      public void preCreateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) throws IOException
      Specified by:
      preCreateTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCreateTable

      public void postCreateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) throws IOException
      Specified by:
      postCreateTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasCreateTableCalled

      public boolean wasCreateTableCalled()
    • preCreateTableCalledOnly

      public boolean preCreateTableCalledOnly()
    • preDeleteTable

      public void preDeleteTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preDeleteTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postDeleteTable

      public void postDeleteTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postDeleteTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasDeleteTableCalled

      public boolean wasDeleteTableCalled()
    • preDeleteTableCalledOnly

      public boolean preDeleteTableCalledOnly()
    • preTruncateTable

      public void preTruncateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preTruncateTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postTruncateTable

      public void postTruncateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postTruncateTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasTruncateTableCalled

      public boolean wasTruncateTableCalled()
    • preTruncateTableCalledOnly

      public boolean preTruncateTableCalledOnly()
    • postSetSplitOrMergeEnabled

      public void postSetSplitOrMergeEnabled(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, boolean newValue, org.apache.hadoop.hbase.client.MasterSwitchType switchType) throws IOException
      Specified by:
      postSetSplitOrMergeEnabled in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preModifyTable

      public org.apache.hadoop.hbase.client.TableDescriptor preModifyTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) throws IOException
      Specified by:
      preModifyTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postModifyTable

      public void postModifyTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) throws IOException
      Specified by:
      postModifyTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasModifyTableCalled

      public boolean wasModifyTableCalled()
    • preModifyTableCalledOnly

      public boolean preModifyTableCalledOnly()
    • preCreateNamespace

      public void preCreateNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException
      Specified by:
      preCreateNamespace in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCreateNamespace

      public void postCreateNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException
      Specified by:
      postCreateNamespace in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasCreateNamespaceCalled

      public boolean wasCreateNamespaceCalled()
    • preCreateNamespaceCalledOnly

      public boolean preCreateNamespaceCalledOnly()
    • preDeleteNamespace

      public void preDeleteNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name) throws IOException
      Specified by:
      preDeleteNamespace in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postDeleteNamespace

      public void postDeleteNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name) throws IOException
      Specified by:
      postDeleteNamespace in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasDeleteNamespaceCalled

      public boolean wasDeleteNamespaceCalled()
    • preDeleteNamespaceCalledOnly

      public boolean preDeleteNamespaceCalledOnly()
    • preModifyNamespace

      public void preModifyNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor currentNsDesc, org.apache.hadoop.hbase.NamespaceDescriptor newNsDesc) throws IOException
      Specified by:
      preModifyNamespace in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postModifyNamespace

      public void postModifyNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor oldNsDesc, org.apache.hadoop.hbase.NamespaceDescriptor currentNsDesc) throws IOException
      Specified by:
      postModifyNamespace in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasModifyNamespaceCalled

      public boolean wasModifyNamespaceCalled()
    • preModifyNamespaceCalledOnly

      public boolean preModifyNamespaceCalledOnly()
    • preGetNamespaceDescriptor

      public void preGetNamespaceDescriptor(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace) throws IOException
      Specified by:
      preGetNamespaceDescriptor in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postGetNamespaceDescriptor

      public void postGetNamespaceDescriptor(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException
      Specified by:
      postGetNamespaceDescriptor in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasGetNamespaceDescriptorCalled

    • preListNamespaces

      public void preListNamespaces(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces)
      Specified by:
      preListNamespaces in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
    • postListNamespaces

      public void postListNamespaces(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces)
      Specified by:
      postListNamespaces in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
    • preListNamespaceDescriptors

      public void preListNamespaceDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.NamespaceDescriptor> descriptors) throws IOException
      Specified by:
      preListNamespaceDescriptors in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postListNamespaceDescriptors

      public void postListNamespaceDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.NamespaceDescriptor> descriptors) throws IOException
      Specified by:
      postListNamespaceDescriptors in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasListNamespaceDescriptorsCalled

    • preListNamespaceDescriptorsCalledOnly

    • preEnableTable

      public void preEnableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preEnableTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postEnableTable

      public void postEnableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postEnableTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasEnableTableCalled

      public boolean wasEnableTableCalled()
    • preEnableTableCalledOnly

      public boolean preEnableTableCalledOnly()
    • preDisableTable

      public void preDisableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preDisableTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postDisableTable

      public void postDisableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postDisableTable in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasDisableTableCalled

      public boolean wasDisableTableCalled()
    • preDisableTableCalledOnly

      public boolean preDisableTableCalledOnly()
    • preAbortProcedure

      public void preAbortProcedure(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, long procId) throws IOException
      Specified by:
      preAbortProcedure in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postAbortProcedure

      public void postAbortProcedure(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      postAbortProcedure in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasAbortProcedureCalled

      public boolean wasAbortProcedureCalled()
    • wasPreAbortProcedureCalledOnly

    • preGetProcedures

      public void preGetProcedures(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      preGetProcedures in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postGetProcedures

      public void postGetProcedures(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      postGetProcedures in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasGetProceduresCalled

      public boolean wasGetProceduresCalled()
    • wasPreGetProceduresCalledOnly

    • preGetLocks

      public void preGetLocks(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      preGetLocks in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postGetLocks

      public void postGetLocks(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      postGetLocks in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasGetLocksCalled

      public boolean wasGetLocksCalled()
    • wasPreGetLocksCalledOnly

      public boolean wasPreGetLocksCalledOnly()
    • preMove

      public void preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer) throws IOException
      Specified by:
      preMove in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postMove

      public void postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer) throws IOException
      Specified by:
      postMove in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasMoveCalled

      public boolean wasMoveCalled()
    • preMoveCalledOnly

      public boolean preMoveCalledOnly()
    • preAssign

      public void preAssign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException
      Specified by:
      preAssign in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postAssign

      public void postAssign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException
      Specified by:
      postAssign in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasAssignCalled

      public boolean wasAssignCalled()
    • preAssignCalledOnly

      public boolean preAssignCalledOnly()
    • preUnassign

      public void preUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException
      Specified by:
      preUnassign in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postUnassign

      public void postUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException
      Specified by:
      postUnassign in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasUnassignCalled

      public boolean wasUnassignCalled()
    • preUnassignCalledOnly

      public boolean preUnassignCalledOnly()
    • preRegionOffline

      public void preRegionOffline(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException
      Specified by:
      preRegionOffline in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postRegionOffline

      public void postRegionOffline(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo) throws IOException
      Specified by:
      postRegionOffline in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasRegionOfflineCalled

      public boolean wasRegionOfflineCalled()
    • preRegionOfflineCalledOnly

      public boolean preRegionOfflineCalledOnly()
    • preBalance

      public void preBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.BalanceRequest request) throws IOException
      Specified by:
      preBalance in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postBalance

      public void postBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.BalanceRequest request, List<org.apache.hadoop.hbase.master.RegionPlan> plans) throws IOException
      Specified by:
      postBalance in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasBalanceCalled

      public boolean wasBalanceCalled()
    • preBalanceCalledOnly

      public boolean preBalanceCalledOnly()
    • preBalanceSwitch

      public void preBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean b) throws IOException
      Specified by:
      preBalanceSwitch in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postBalanceSwitch

      public void postBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean oldValue, boolean newValue) throws IOException
      Specified by:
      postBalanceSwitch in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasBalanceSwitchCalled

      public boolean wasBalanceSwitchCalled()
    • preBalanceSwitchCalledOnly

      public boolean preBalanceSwitchCalledOnly()
    • preShutdown

      public void preShutdown(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) throws IOException
      Specified by:
      preShutdown in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasShutdownCalled

      public boolean wasShutdownCalled()
    • preStopMaster

      public void preStopMaster(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) throws IOException
      Specified by:
      preStopMaster in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasStopMasterCalled

      public boolean wasStopMasterCalled()
    • preMasterInitialization

      public void preMasterInitialization(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      preMasterInitialization in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasMasterInitializationCalled

    • postStartMaster

      public void postStartMaster(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      postStartMaster in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasStartMasterCalled

      public boolean wasStartMasterCalled()
    • start

      public void start(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
      Specified by:
      start in interface org.apache.hadoop.hbase.Coprocessor
      Throws:
      IOException
    • stop

      public void stop(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
      Specified by:
      stop in interface org.apache.hadoop.hbase.Coprocessor
      Throws:
      IOException
    • wasStarted

      public boolean wasStarted()
    • wasStopped

      public boolean wasStopped()
    • preSnapshot

      public void preSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException
      Specified by:
      preSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postSnapshot

      public void postSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException
      Specified by:
      postSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasSnapshotCalled

      public boolean wasSnapshotCalled()
    • preListSnapshot

      public void preListSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException
      Specified by:
      preListSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postListSnapshot

      public void postListSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException
      Specified by:
      postListSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasListSnapshotCalled

      public boolean wasListSnapshotCalled()
    • preCloneSnapshot

      public void preCloneSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException
      Specified by:
      preCloneSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCloneSnapshot

      public void postCloneSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException
      Specified by:
      postCloneSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasCloneSnapshotCalled

      public boolean wasCloneSnapshotCalled()
    • preRestoreSnapshot

      public void preRestoreSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException
      Specified by:
      preRestoreSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postRestoreSnapshot

      public void postRestoreSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) throws IOException
      Specified by:
      postRestoreSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasRestoreSnapshotCalled

      public boolean wasRestoreSnapshotCalled()
    • preDeleteSnapshot

      public void preDeleteSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException
      Specified by:
      preDeleteSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postDeleteSnapshot

      public void postDeleteSnapshot(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) throws IOException
      Specified by:
      postDeleteSnapshot in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasDeleteSnapshotCalled

      public boolean wasDeleteSnapshotCalled()
    • preCreateTableAction

      public void preCreateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) throws IOException
      Specified by:
      preCreateTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCompletedCreateTableAction

      public void postCompletedCreateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) throws IOException
      Specified by:
      postCompletedCreateTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasPreCreateTableActionCalled

    • wasCreateTableActionCalled

      public boolean wasCreateTableActionCalled()
    • wasCreateTableActionCalledOnly

    • preDeleteTableAction

      public void preDeleteTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preDeleteTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCompletedDeleteTableAction

      public void postCompletedDeleteTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postCompletedDeleteTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasDeleteTableActionCalled

      public boolean wasDeleteTableActionCalled()
    • wasDeleteTableActionCalledOnly

    • preTruncateTableAction

      public void preTruncateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preTruncateTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCompletedTruncateTableAction

      public void postCompletedTruncateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postCompletedTruncateTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasTruncateTableActionCalled

      public boolean wasTruncateTableActionCalled()
    • wasTruncateTableActionCalledOnly

    • preModifyTableAction

      public void preModifyTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) throws IOException
      Specified by:
      preModifyTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCompletedModifyTableAction

      public void postCompletedModifyTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) throws IOException
      Specified by:
      postCompletedModifyTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasModifyTableActionCalled

      public boolean wasModifyTableActionCalled()
    • wasModifyTableActionCalledOnly

    • preEnableTableAction

      public void preEnableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preEnableTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCompletedEnableTableAction

      public void postCompletedEnableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postCompletedEnableTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasEnableTableActionCalled

      public boolean wasEnableTableActionCalled()
    • preEnableTableActionCalledOnly

    • preDisableTableAction

      public void preDisableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preDisableTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCompletedDisableTableAction

      public void postCompletedDisableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postCompletedDisableTableAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasDisableTableActionCalled

      public boolean wasDisableTableActionCalled()
    • preDisableTableActionCalledOnly

    • preGetTableDescriptors

      public void preGetTableDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.TableName> tableNamesList, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) throws IOException
      Specified by:
      preGetTableDescriptors in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postGetTableDescriptors

      public void postGetTableDescriptors(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.TableName> tableNamesList, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) throws IOException
      Specified by:
      postGetTableDescriptors in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasGetTableDescriptorsCalled

      public boolean wasGetTableDescriptorsCalled()
    • preGetTableNames

      public void preGetTableNames(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) throws IOException
      Specified by:
      preGetTableNames in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postGetTableNames

      public void postGetTableNames(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) throws IOException
      Specified by:
      postGetTableNames in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • wasGetTableNamesCalled

      public boolean wasGetTableNamesCalled()
    • preTableFlush

      public void preTableFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      preTableFlush in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postTableFlush

      public void postTableFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      postTableFlush in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preMasterStoreFlush

      public void preMasterStoreFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      preMasterStoreFlush in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postMasterStoreFlush

      public void postMasterStoreFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      postMasterStoreFlush in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preSetUserQuota

      public void preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      preSetUserQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postSetUserQuota

      public void postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      postSetUserQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preSetUserQuota

      public void preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      preSetUserQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postSetUserQuota

      public void postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      postSetUserQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preSetUserQuota

      public void preSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      preSetUserQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postSetUserQuota

      public void postSetUserQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String userName, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      postSetUserQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preSetTableQuota

      public void preSetTableQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      preSetTableQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postSetTableQuota

      public void postSetTableQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      postSetTableQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preSetNamespaceQuota

      public void preSetNamespaceQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      preSetNamespaceQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postSetNamespaceQuota

      public void postSetNamespaceQuota(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.quotas.GlobalQuotaSettings quotas) throws IOException
      Specified by:
      postSetNamespaceQuota in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preMoveServersAndTables

      public void preMoveServersAndTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
      Specified by:
      preMoveServersAndTables in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postMoveServersAndTables

      public void postMoveServersAndTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
      Specified by:
      postMoveServersAndTables in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preMoveServers

      public void preMoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException
      Specified by:
      preMoveServers in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postMoveServers

      public void postMoveServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.net.Address> servers, String targetGroup) throws IOException
      Specified by:
      postMoveServers in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preMoveTables

      public void preMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroupGroup) throws IOException
      Specified by:
      preMoveTables in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postMoveTables

      public void postMoveTables(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, Set<org.apache.hadoop.hbase.TableName> tables, String targetGroup) throws IOException
      Specified by:
      postMoveTables in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preAddRSGroup

      public void preAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
      Specified by:
      preAddRSGroup in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postAddRSGroup

      public void postAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
      Specified by:
      postAddRSGroup in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preRemoveRSGroup

      public void preRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
      Specified by:
      preRemoveRSGroup in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postRemoveRSGroup

      public void postRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
      Specified by:
      postRemoveRSGroup in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preBalanceRSGroup

      public void preBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, org.apache.hadoop.hbase.client.BalanceRequest request) throws IOException
      Specified by:
      preBalanceRSGroup in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postBalanceRSGroup

      public void postBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, org.apache.hadoop.hbase.client.BalanceRequest request, org.apache.hadoop.hbase.client.BalanceResponse response) throws IOException
      Specified by:
      postBalanceRSGroup in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preRequestLock

      public void preRequestLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.RegionInfo[] regionInfos, String description) throws IOException
      Specified by:
      preRequestLock in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postRequestLock

      public void postRequestLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.RegionInfo[] regionInfos, String description) throws IOException
      Specified by:
      postRequestLock in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preLockHeartbeat

      public void preLockHeartbeat(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tn, String description) throws IOException
      Specified by:
      preLockHeartbeat in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postLockHeartbeat

      public void postLockHeartbeat(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      postLockHeartbeat in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preAndPostForQueueLockAndHeartbeatLockCalled

    • preSplitRegion

      public void preSplitRegion(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.TableName tableName, byte[] splitRow) throws IOException
      Specified by:
      preSplitRegion in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preSplitRegionAction

      public void preSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.TableName tableName, byte[] splitRow) throws IOException
      Specified by:
      preSplitRegionAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCompletedSplitRegionAction

      public void postCompletedSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.RegionInfo regionInfoA, org.apache.hadoop.hbase.client.RegionInfo regionInfoB) throws IOException
      Specified by:
      postCompletedSplitRegionAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preSplitRegionBeforeMETAAction

      public void preSplitRegionBeforeMETAAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, byte[] splitKey, List<org.apache.hadoop.hbase.client.Mutation> metaEntries) throws IOException
      Specified by:
      preSplitRegionBeforeMETAAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preSplitRegionAfterMETAAction

      public void preSplitRegionAfterMETAAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      preSplitRegionAfterMETAAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postRollBackSplitRegionAction

      public void postRollBackSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
      Specified by:
      postRollBackSplitRegionAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preMergeRegionsAction

      public void preMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) throws IOException
      Specified by:
      preMergeRegionsAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postCompletedMergeRegionsAction

      public void postCompletedMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, org.apache.hadoop.hbase.client.RegionInfo mergedRegion) throws IOException
      Specified by:
      postCompletedMergeRegionsAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preMergeRegionsCommitAction

      public void preMergeRegionsCommitAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, List<org.apache.hadoop.hbase.client.Mutation> metaEntries) throws IOException
      Specified by:
      preMergeRegionsCommitAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postMergeRegionsCommitAction

      public void postMergeRegionsCommitAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge, org.apache.hadoop.hbase.client.RegionInfo mergedRegion) throws IOException
      Specified by:
      postMergeRegionsCommitAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postRollBackMergeRegionsAction

      public void postRollBackMergeRegionsAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo[] regionsToMerge) throws IOException
      Specified by:
      postRollBackMergeRegionsAction in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • preUpdateMasterConfiguration

      public void preUpdateMasterConfiguration(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration preReloadConf) throws IOException
      Specified by:
      preUpdateMasterConfiguration in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException
    • postUpdateMasterConfiguration

      public void postUpdateMasterConfiguration(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.conf.Configuration postReloadConf) throws IOException
      Specified by:
      postUpdateMasterConfiguration in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
      Throws:
      IOException