@InterfaceAudience.Private public class MasterCoprocessorHost extends CoprocessorHost<org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment>
HMaster
interacts with the loaded coprocessors
through this class.CoprocessorHost.Environment
conf, coprocessors, loadSequence, MASTER_COPROCESSOR_CONF_KEY, pathPrefix, REGION_COPROCESSOR_CONF_KEY, REGIONSERVER_COPROCESSOR_CONF_KEY, USER_REGION_COPROCESSOR_CONF_KEY, WAL_COPROCESSOR_CONF_KEY
abortServer, findCoprocessor, findCoprocessorEnvironment, getCoprocessors, getLoadedCoprocessors, handleCoprocessorThrowable, load, load, loadInstance, loadSystemCoprocessors, shutdown
public org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment createEnvironment(Class<?> implClass, Coprocessor instance, int priority, int seq, org.apache.hadoop.conf.Configuration conf)
CoprocessorHost
createEnvironment
in class CoprocessorHost<org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment>
protected void abortServer(CoprocessorEnvironment env, Throwable e)
abortServer
in class CoprocessorHost<org.apache.hadoop.hbase.master.MasterCoprocessorHost.MasterEnvironment>
public void preCreateTable(HTableDescriptor htd, HRegionInfo[] regions) throws IOException
IOException
public void postCreateTable(HTableDescriptor htd, HRegionInfo[] regions) throws IOException
IOException
public void preCreateTableHandler(HTableDescriptor htd, HRegionInfo[] regions) throws IOException
IOException
public void postCreateTableHandler(HTableDescriptor htd, HRegionInfo[] regions) throws IOException
IOException
public void preDeleteTable(TableName tableName) throws IOException
IOException
public void postDeleteTable(TableName tableName) throws IOException
IOException
public void preDeleteTableHandler(TableName tableName) throws IOException
IOException
public void postDeleteTableHandler(TableName tableName) throws IOException
IOException
public void preModifyTable(TableName tableName, HTableDescriptor htd) throws IOException
IOException
public void postModifyTable(TableName tableName, HTableDescriptor htd) throws IOException
IOException
public void preModifyTableHandler(TableName tableName, HTableDescriptor htd) throws IOException
IOException
public void postModifyTableHandler(TableName tableName, HTableDescriptor htd) throws IOException
IOException
public boolean preAddColumn(TableName tableName, HColumnDescriptor column) throws IOException
IOException
public void postAddColumn(TableName tableName, HColumnDescriptor column) throws IOException
IOException
public boolean preAddColumnHandler(TableName tableName, HColumnDescriptor column) throws IOException
IOException
public void postAddColumnHandler(TableName tableName, HColumnDescriptor column) throws IOException
IOException
public boolean preModifyColumn(TableName tableName, HColumnDescriptor descriptor) throws IOException
IOException
public void postModifyColumn(TableName tableName, HColumnDescriptor descriptor) throws IOException
IOException
public boolean preModifyColumnHandler(TableName tableName, HColumnDescriptor descriptor) throws IOException
IOException
public void postModifyColumnHandler(TableName tableName, HColumnDescriptor descriptor) throws IOException
IOException
public void postDeleteColumn(TableName tableName, byte[] c) throws IOException
IOException
public boolean preDeleteColumnHandler(TableName tableName, byte[] c) throws IOException
IOException
public void postDeleteColumnHandler(TableName tableName, byte[] c) throws IOException
IOException
public void preEnableTable(TableName tableName) throws IOException
IOException
public void postEnableTable(TableName tableName) throws IOException
IOException
public void preEnableTableHandler(TableName tableName) throws IOException
IOException
public void postEnableTableHandler(TableName tableName) throws IOException
IOException
public void preDisableTable(TableName tableName) throws IOException
IOException
public void postDisableTable(TableName tableName) throws IOException
IOException
public void preDisableTableHandler(TableName tableName) throws IOException
IOException
public void postDisableTableHandler(TableName tableName) throws IOException
IOException
public boolean preMove(HRegionInfo region, ServerName srcServer, ServerName destServer) throws IOException
IOException
public void postMove(HRegionInfo region, ServerName srcServer, ServerName destServer) throws IOException
IOException
public void preMasterInitialization() throws IOException
IOException
public void preSnapshot(HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor) throws IOException
IOException
public void postSnapshot(HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor) throws IOException
IOException
public void preCloneSnapshot(HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor) throws IOException
IOException
public void postCloneSnapshot(HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor) throws IOException
IOException
public void preRestoreSnapshot(HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor) throws IOException
IOException
public void postRestoreSnapshot(HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor) throws IOException
IOException
public void preDeleteSnapshot(HBaseProtos.SnapshotDescription snapshot) throws IOException
IOException
public void postDeleteSnapshot(HBaseProtos.SnapshotDescription snapshot) throws IOException
IOException
public boolean preGetTableDescriptors(List<TableName> tableNamesList, List<HTableDescriptor> descriptors) throws IOException
IOException
public void postGetTableDescriptors(List<HTableDescriptor> descriptors) throws IOException
IOException
Copyright © 2013 The Apache Software Foundation. All rights reserved.