public static class TestMasterCoprocessorExceptionWithRemove.BuggyMasterObserver extends BaseMasterObserver
Coprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description |
|---|
BuggyMasterObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
postCreateTable(ObserverContext<MasterCoprocessorEnvironment> env,
HTableDescriptor desc,
HRegionInfo[] regions)
Called after the createTable operation has been requested.
|
void |
postStartMaster(ObserverContext<MasterCoprocessorEnvironment> ctx)
Called immediately after an active master instance has completed
initialization.
|
void |
start(CoprocessorEnvironment env) |
boolean |
wasCreateTableCalled() |
boolean |
wasStarted() |
boolean |
wasStartMasterCalled() |
postAbortProcedure, postAddColumn, postAddColumnHandler, postAddRSGroup, postAssign, postBalance, postBalanceRSGroup, postBalanceSwitch, postCloneSnapshot, postCreateNamespace, postCreateTableHandler, postDeleteColumn, postDeleteColumnHandler, postDeleteNamespace, postDeleteSnapshot, postDeleteTable, postDeleteTableHandler, postDisableTable, postDisableTableHandler, postEnableTable, postEnableTableHandler, postGetNamespaceDescriptor, postGetTableDescriptors, postGetTableDescriptors, postGetTableNames, postListNamespaceDescriptors, postListProcedures, postListSnapshot, postModifyColumn, postModifyColumnHandler, postModifyNamespace, postModifyTable, postModifyTableHandler, postMove, postMoveServers, postMoveTables, postRegionOffline, postRemoveRSGroup, postRestoreSnapshot, postSetNamespaceQuota, postSetTableQuota, postSetUserQuota, postSetUserQuota, postSetUserQuota, postSnapshot, postTableFlush, postTruncateTable, postTruncateTableHandler, postUnassign, preAbortProcedure, preAddColumn, preAddColumnHandler, preAddRSGroup, preAssign, preBalance, preBalanceRSGroup, preBalanceSwitch, preCloneSnapshot, preCreateNamespace, preCreateTable, preCreateTableHandler, preDeleteColumn, preDeleteColumnHandler, preDeleteNamespace, preDeleteSnapshot, preDeleteTable, preDeleteTableHandler, preDisableTable, preDisableTableHandler, preEnableTable, preEnableTableHandler, preGetNamespaceDescriptor, preGetTableDescriptors, preGetTableDescriptors, preGetTableNames, preListNamespaceDescriptors, preListProcedures, preListSnapshot, preMasterInitialization, preModifyColumn, preModifyColumnHandler, preModifyNamespace, preModifyTable, preModifyTableHandler, preMove, preMoveServers, preMoveTables, preRegionOffline, preRemoveRSGroup, preRestoreSnapshot, preSetNamespaceQuota, preSetTableQuota, preSetUserQuota, preSetUserQuota, preSetUserQuota, preShutdown, preSnapshot, preStopMaster, preTableFlush, preTruncateTable, preTruncateTableHandler, preUnassign, stoppublic void postCreateTable(ObserverContext<MasterCoprocessorEnvironment> env, HTableDescriptor desc, HRegionInfo[] regions) throws IOException
MasterObserverpostCreateTable in interface MasterObserverpostCreateTable in class BaseMasterObserverenv - the environment to interact with the framework and masterdesc - the HTableDescriptor for the tableregions - the initial regions created for the tableIOExceptionpublic boolean wasCreateTableCalled()
public void postStartMaster(ObserverContext<MasterCoprocessorEnvironment> ctx) throws IOException
MasterObserverpostStartMaster in interface MasterObserverpostStartMaster in class BaseMasterObserverIOExceptionpublic boolean wasStartMasterCalled()
public void start(CoprocessorEnvironment env) throws IOException
start in interface Coprocessorstart in class BaseMasterObserverIOExceptionpublic boolean wasStarted()