public static class TestMasterObserver.CPMasterObserver extends Object implements org.apache.hadoop.hbase.coprocessor.MasterCoprocessor, org.apache.hadoop.hbase.coprocessor.MasterObserver
Constructor and Description |
---|
CPMasterObserver() |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.hadoop.hbase.coprocessor.MasterObserver> |
getMasterObserver() |
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,
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,
boolean balancerRan) |
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 htd) |
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 |
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 ns) |
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 htd) |
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,
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.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,
boolean force) |
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 |
preAndPostForQueueLockAndHeartbeatLockCalled() |
void |
preAssign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env,
org.apache.hadoop.hbase.client.RegionInfo regionInfo) |
boolean |
preAssignCalledOnly() |
void |
preBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) |
boolean |
preBalanceCalledOnly() |
void |
preBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx,
String groupName) |
void |
preBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env,
boolean b) |
boolean |
preBalanceSwitchCalledOnly() |
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 |
preCreateNamespaceCalledOnly() |
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 |
preCreateTableCalledOnly() |
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 |
preDeleteNamespaceCalledOnly() |
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 |
preDeleteTableCalledOnly() |
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 |
preDisableTableActionCalledOnly() |
boolean |
preDisableTableCalledOnly() |
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 |
preEnableTableActionCalledOnly() |
boolean |
preEnableTableCalledOnly() |
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 |
preListNamespaceDescriptorsCalledOnly() |
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 |
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 ns) |
boolean |
preModifyNamespaceCalledOnly() |
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 htd) |
boolean |
preModifyTableCalledOnly() |
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 |
preMoveCalledOnly() |
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 |
preRegionOfflineCalledOnly() |
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,
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.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 |
preTruncateTableCalledOnly() |
void |
preUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env,
org.apache.hadoop.hbase.client.RegionInfo regionInfo,
boolean force) |
boolean |
preUnassignCalledOnly() |
void |
resetStates() |
void |
start(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
void |
stop(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
boolean |
wasAbortProcedureCalled() |
boolean |
wasAssignCalled() |
boolean |
wasBalanceCalled() |
boolean |
wasBalanceSwitchCalled() |
boolean |
wasCloneSnapshotCalled() |
boolean |
wasCreateNamespaceCalled() |
boolean |
wasCreateTableActionCalled() |
boolean |
wasCreateTableActionCalledOnly() |
boolean |
wasCreateTableCalled() |
boolean |
wasDeleteNamespaceCalled() |
boolean |
wasDeleteSnapshotCalled() |
boolean |
wasDeleteTableActionCalled() |
boolean |
wasDeleteTableActionCalledOnly() |
boolean |
wasDeleteTableCalled() |
boolean |
wasDisableTableActionCalled() |
boolean |
wasDisableTableCalled() |
boolean |
wasEnableTableActionCalled() |
boolean |
wasEnableTableCalled() |
boolean |
wasGetLocksCalled() |
boolean |
wasGetNamespaceDescriptorCalled() |
boolean |
wasGetProceduresCalled() |
boolean |
wasGetTableDescriptorsCalled() |
boolean |
wasGetTableNamesCalled() |
boolean |
wasListNamespaceDescriptorsCalled() |
boolean |
wasListSnapshotCalled() |
boolean |
wasMasterInitializationCalled() |
boolean |
wasMergeRegionsCalled() |
boolean |
wasModifyNamespaceCalled() |
boolean |
wasModifyTableActionCalled() |
boolean |
wasModifyTableActionCalledOnly() |
boolean |
wasModifyTableCalled() |
boolean |
wasMoveCalled() |
boolean |
wasPreAbortProcedureCalledOnly() |
boolean |
wasPreCreateTableActionCalled() |
boolean |
wasPreGetLocksCalledOnly() |
boolean |
wasPreGetProceduresCalledOnly() |
boolean |
wasRegionOfflineCalled() |
boolean |
wasRestoreSnapshotCalled() |
boolean |
wasShutdownCalled() |
boolean |
wasSnapshotCalled() |
boolean |
wasStarted() |
boolean |
wasStartMasterCalled() |
boolean |
wasStopMasterCalled() |
boolean |
wasStopped() |
boolean |
wasTruncateTableActionCalled() |
boolean |
wasTruncateTableActionCalledOnly() |
boolean |
wasTruncateTableCalled() |
boolean |
wasUnassignCalled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postAddReplicationPeer, postClearDeadServers, postCompletedModifyTableAction, postCompletedSnapshotAction, postDecommissionRegionServers, postDisableReplicationPeer, postEnableReplicationPeer, postGetClusterMetrics, postGetReplicationPeerConfig, postGetUserPermissions, postGrant, postHasUserPermissions, postIsRpcThrottleEnabled, postListDecommissionedRegionServers, postListReplicationPeers, postModifyNamespace, postModifyTable, postRecommissionRegionServer, postRemoveReplicationPeer, postRemoveServers, postRenameRSGroup, postRevoke, postSetRegionServerQuota, postSwitchExceedThrottleQuota, postSwitchRpcThrottle, postUpdateReplicationPeerConfig, preAddReplicationPeer, preClearDeadServers, preDecommissionRegionServers, preDisableReplicationPeer, preEnableReplicationPeer, preGetClusterMetrics, preGetReplicationPeerConfig, preGetUserPermissions, preGrant, preHasUserPermissions, preIsRpcThrottleEnabled, preListDecommissionedRegionServers, preListReplicationPeers, preModifyNamespace, preModifyTable, preModifyTableAction, preRecommissionRegionServer, preRemoveReplicationPeer, preRemoveServers, preRenameRSGroup, preRevoke, preSetRegionServerQuota, preSetSplitOrMergeEnabled, preSwitchExceedThrottleQuota, preSwitchRpcThrottle, preUpdateReplicationPeerConfig
private boolean preCreateTableRegionInfosCalled
private boolean preCreateTableCalled
private boolean postCreateTableCalled
private boolean preDeleteTableCalled
private boolean postDeleteTableCalled
private boolean preTruncateTableCalled
private boolean postTruncateTableCalled
private boolean preModifyTableCalled
private boolean postModifyTableCalled
private boolean preCreateNamespaceCalled
private boolean postCreateNamespaceCalled
private boolean preDeleteNamespaceCalled
private boolean postDeleteNamespaceCalled
private boolean preModifyNamespaceCalled
private boolean postModifyNamespaceCalled
private boolean preGetNamespaceDescriptorCalled
private boolean postGetNamespaceDescriptorCalled
private boolean preListNamespacesCalled
private boolean postListNamespacesCalled
private boolean preListNamespaceDescriptorsCalled
private boolean postListNamespaceDescriptorsCalled
private boolean preAddColumnCalled
private boolean postAddColumnCalled
private boolean preModifyColumnCalled
private boolean postModifyColumnCalled
private boolean preDeleteColumnCalled
private boolean postDeleteColumnCalled
private boolean preEnableTableCalled
private boolean postEnableTableCalled
private boolean preDisableTableCalled
private boolean postDisableTableCalled
private boolean preAbortProcedureCalled
private boolean postAbortProcedureCalled
private boolean preGetProceduresCalled
private boolean postGetProceduresCalled
private boolean preGetLocksCalled
private boolean postGetLocksCalled
private boolean preMoveCalled
private boolean postMoveCalled
private boolean preAssignCalled
private boolean postAssignCalled
private boolean preUnassignCalled
private boolean postUnassignCalled
private boolean preRegionOfflineCalled
private boolean postRegionOfflineCalled
private boolean preBalanceCalled
private boolean postBalanceCalled
private boolean preBalanceSwitchCalled
private boolean postBalanceSwitchCalled
private boolean preShutdownCalled
private boolean preStopMasterCalled
private boolean preMasterInitializationCalled
private boolean postStartMasterCalled
private boolean startCalled
private boolean stopCalled
private boolean preSnapshotCalled
private boolean postSnapshotCalled
private boolean preListSnapshotCalled
private boolean postListSnapshotCalled
private boolean preCloneSnapshotCalled
private boolean postCloneSnapshotCalled
private boolean preRestoreSnapshotCalled
private boolean postRestoreSnapshotCalled
private boolean preDeleteSnapshotCalled
private boolean postDeleteSnapshotCalled
private boolean preCreateTableActionCalled
private boolean postCompletedCreateTableActionCalled
private boolean preDeleteTableActionCalled
private boolean postCompletedDeleteTableActionCalled
private boolean preTruncateTableActionCalled
private boolean postCompletedTruncateTableActionCalled
private boolean preAddColumnFamilyActionCalled
private boolean postCompletedAddColumnFamilyActionCalled
private boolean preModifyColumnFamilyActionCalled
private boolean postCompletedModifyColumnFamilyActionCalled
private boolean preDeleteColumnFamilyActionCalled
private boolean postCompletedDeleteColumnFamilyActionCalled
private boolean preEnableTableActionCalled
private boolean postCompletedEnableTableActionCalled
private boolean preDisableTableActionCalled
private boolean postCompletedDisableTableActionCalled
private boolean preModifyTableActionCalled
private boolean postCompletedModifyTableActionCalled
private boolean preGetTableDescriptorsCalled
private boolean postGetTableDescriptorsCalled
private boolean postGetTableNamesCalled
private boolean preGetTableNamesCalled
private boolean preMergeRegionsCalled
private boolean postMergeRegionsCalled
private boolean preRequestLockCalled
private boolean postRequestLockCalled
private boolean preLockHeartbeatCalled
private boolean postLockHeartbeatCalled
public CPMasterObserver()
public void resetStates()
public Optional<org.apache.hadoop.hbase.coprocessor.MasterObserver> getMasterObserver()
getMasterObserver
in interface org.apache.hadoop.hbase.coprocessor.MasterCoprocessor
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
preMergeRegions
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postMergeRegions
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasMergeRegionsCalled()
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
preCreateTableRegionsInfos
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preCreateTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postCreateTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasCreateTableCalled()
public boolean preCreateTableCalledOnly()
public void preDeleteTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
preDeleteTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postDeleteTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
postDeleteTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasDeleteTableCalled()
public boolean preDeleteTableCalledOnly()
public void preTruncateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
preTruncateTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postTruncateTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
postTruncateTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasTruncateTableCalled()
public boolean preTruncateTableCalledOnly()
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
postSetSplitOrMergeEnabled
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preModifyTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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 htd) throws IOException
postModifyTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasModifyTableCalled()
public boolean preModifyTableCalledOnly()
public void preCreateNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException
preCreateNamespace
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postCreateNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException
postCreateNamespace
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasCreateNamespaceCalled()
public boolean preCreateNamespaceCalledOnly()
public void preDeleteNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name) throws IOException
preDeleteNamespace
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postDeleteNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, String name) throws IOException
postDeleteNamespace
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasDeleteNamespaceCalled()
public boolean preDeleteNamespaceCalledOnly()
public void preModifyNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException
preModifyNamespace
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postModifyNamespace(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException
postModifyNamespace
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasModifyNamespaceCalled()
public boolean preModifyNamespaceCalledOnly()
public void preGetNamespaceDescriptor(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String namespace) throws IOException
preGetNamespaceDescriptor
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postGetNamespaceDescriptor(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.NamespaceDescriptor ns) throws IOException
postGetNamespaceDescriptor
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasGetNamespaceDescriptorCalled()
public void preListNamespaces(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces)
preListNamespaces
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
public void postListNamespaces(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<String> namespaces)
postListNamespaces
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
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
preListNamespaceDescriptors
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postListNamespaceDescriptors
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasListNamespaceDescriptorsCalled()
public boolean preListNamespaceDescriptorsCalledOnly()
public void preEnableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
preEnableTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postEnableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
postEnableTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasEnableTableCalled()
public boolean preEnableTableCalledOnly()
public void preDisableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
preDisableTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postDisableTable(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
postDisableTable
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasDisableTableCalled()
public boolean preDisableTableCalledOnly()
public void preAbortProcedure(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, long procId) throws IOException
preAbortProcedure
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postAbortProcedure(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
postAbortProcedure
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasAbortProcedureCalled()
public boolean wasPreAbortProcedureCalledOnly()
public void preGetProcedures(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
preGetProcedures
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postGetProcedures(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
postGetProcedures
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasGetProceduresCalled()
public boolean wasPreGetProceduresCalledOnly()
public void preGetLocks(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
preGetLocks
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postGetLocks(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
postGetLocks
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasGetLocksCalled()
public boolean wasPreGetLocksCalledOnly()
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
preMove
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postMove
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasMoveCalled()
public boolean preMoveCalledOnly()
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
preAssign
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postAssign
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasAssignCalled()
public boolean preAssignCalledOnly()
public void preUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo, boolean force) throws IOException
preUnassign
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postUnassign(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo regionInfo, boolean force) throws IOException
postUnassign
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasUnassignCalled()
public boolean preUnassignCalledOnly()
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
preRegionOffline
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postRegionOffline
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasRegionOfflineCalled()
public boolean preRegionOfflineCalledOnly()
public void preBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) throws IOException
preBalance
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postBalance(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, List<org.apache.hadoop.hbase.master.RegionPlan> plans) throws IOException
postBalance
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasBalanceCalled()
public boolean preBalanceCalledOnly()
public void preBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean b) throws IOException
preBalanceSwitch
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postBalanceSwitch(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, boolean oldValue, boolean newValue) throws IOException
postBalanceSwitch
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasBalanceSwitchCalled()
public boolean preBalanceSwitchCalledOnly()
public void preShutdown(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) throws IOException
preShutdown
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasShutdownCalled()
public void preStopMaster(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env) throws IOException
preStopMaster
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasStopMasterCalled()
public void preMasterInitialization(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
preMasterInitialization
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasMasterInitializationCalled()
public void postStartMaster(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
postStartMaster
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasStartMasterCalled()
public void start(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
start
in interface org.apache.hadoop.hbase.Coprocessor
IOException
public void stop(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
stop
in interface org.apache.hadoop.hbase.Coprocessor
IOException
public boolean wasStarted()
public boolean wasStopped()
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
preSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasSnapshotCalled()
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
preListSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postListSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasListSnapshotCalled()
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
preCloneSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postCloneSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasCloneSnapshotCalled()
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
preRestoreSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postRestoreSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasRestoreSnapshotCalled()
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
preDeleteSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postDeleteSnapshot
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasDeleteSnapshotCalled()
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
preCreateTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postCompletedCreateTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasPreCreateTableActionCalled()
public boolean wasCreateTableActionCalled()
public boolean wasCreateTableActionCalledOnly()
public void preDeleteTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
preDeleteTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postCompletedDeleteTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
postCompletedDeleteTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasDeleteTableActionCalled()
public boolean wasDeleteTableActionCalledOnly()
public void preTruncateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> env, org.apache.hadoop.hbase.TableName tableName) throws IOException
preTruncateTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postCompletedTruncateTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
postCompletedTruncateTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasTruncateTableActionCalled()
public boolean wasTruncateTableActionCalledOnly()
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 htd) throws IOException
preModifyTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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 htd) throws IOException
postCompletedModifyTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasModifyTableActionCalled()
public boolean wasModifyTableActionCalledOnly()
public void preEnableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
preEnableTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postCompletedEnableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
postCompletedEnableTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasEnableTableActionCalled()
public boolean preEnableTableActionCalledOnly()
public void preDisableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
preDisableTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postCompletedDisableTableAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
postCompletedDisableTableAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasDisableTableActionCalled()
public boolean preDisableTableActionCalledOnly()
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
preGetTableDescriptors
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postGetTableDescriptors
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasGetTableDescriptorsCalled()
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
preGetTableNames
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postGetTableNames
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean wasGetTableNamesCalled()
public void preTableFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
preTableFlush
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postTableFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName) throws IOException
postTableFlush
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preSetUserQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postSetUserQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preSetUserQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postSetUserQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preSetUserQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postSetUserQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preSetTableQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postSetTableQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preSetNamespaceQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postSetNamespaceQuota
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preMoveServersAndTables
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postMoveServersAndTables
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preMoveServers
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postMoveServers
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preMoveTables
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postMoveTables
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
preAddRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postAddRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
postAddRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
preRemoveRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postRemoveRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String name) throws IOException
postRemoveRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName) throws IOException
preBalanceRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postBalanceRSGroup(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, String groupName, boolean balancerRan) throws IOException
postBalanceRSGroup
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preRequestLock
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postRequestLock
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preLockHeartbeat
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postLockHeartbeat(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
postLockHeartbeat
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public boolean preAndPostForQueueLockAndHeartbeatLockCalled()
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
preSplitRegion
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preSplitRegionAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postCompletedSplitRegionAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preSplitRegionBeforeMETAAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void preSplitRegionAfterMETAAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
preSplitRegionAfterMETAAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
public void postRollBackSplitRegionAction(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx) throws IOException
postRollBackSplitRegionAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preMergeRegionsAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postCompletedMergeRegionsAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
preMergeRegionsCommitAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postMergeRegionsCommitAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
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
postRollBackMergeRegionsAction
in interface org.apache.hadoop.hbase.coprocessor.MasterObserver
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.