@InterfaceAudience.Private public class RegionServerCoprocessorHost extends CoprocessorHost<RegionServerCoprocessor,RegionServerCoprocessorEnvironment>
CoprocessorHost.ObserverGetter<C,O>, CoprocessorHost.ObserverOperationWithoutResult<O>, CoprocessorHost.ObserverOperationWithResult<O,R>
ABORT_ON_ERROR_KEY, abortable, conf, coprocEnvironments, COPROCESSORS_ENABLED_CONF_KEY, DEFAULT_ABORT_ON_ERROR, DEFAULT_COPROCESSORS_ENABLED, DEFAULT_USER_COPROCESSORS_ENABLED, loadSequence, MASTER_COPROCESSOR_CONF_KEY, pathPrefix, REGION_COPROCESSOR_CONF_KEY, REGIONSERVER_COPROCESSOR_CONF_KEY, USER_COPROCESSORS_ENABLED_CONF_KEY, USER_REGION_COPROCESSOR_CONF_KEY, WAL_COPROCESSOR_CONF_KEY
Constructor and Description |
---|
RegionServerCoprocessorHost(RegionServerServices rsServices,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
RegionServerCoprocessor |
checkAndGetInstance(Class<?> implClass)
Called when a new Coprocessor class needs to be loaded.
|
org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment |
createEnvironment(RegionServerCoprocessor instance,
int priority,
int sequence,
org.apache.hadoop.conf.Configuration conf)
Called when a new Coprocessor class is loaded
|
void |
postClearCompactionQueues() |
ReplicationEndpoint |
postCreateReplicationEndPoint(ReplicationEndpoint endpoint) |
void |
postExecuteProcedures() |
void |
postReplicateLogEntries() |
void |
postRollWALWriterRequest() |
void |
preClearCompactionQueues() |
void |
preExecuteProcedures() |
void |
preReplicateLogEntries() |
void |
preRollWALWriterRequest() |
void |
preStop(String message,
User user) |
abortServer, abortServer, checkAndLoadInstance, execOperation, execOperationWithResult, execShutdown, findCoprocessor, findCoprocessor, findCoprocessorEnvironment, findCoprocessors, getCoprocessors, getLoadedCoprocessors, handleCoprocessorThrowable, load, load, load, loadSystemCoprocessors, shutdown
public RegionServerCoprocessorHost(RegionServerServices rsServices, org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost.RegionServerEnvironment createEnvironment(RegionServerCoprocessor instance, int priority, int sequence, org.apache.hadoop.conf.Configuration conf)
CoprocessorHost
createEnvironment
in class CoprocessorHost<RegionServerCoprocessor,RegionServerCoprocessorEnvironment>
public RegionServerCoprocessor checkAndGetInstance(Class<?> implClass) throws InstantiationException, IllegalAccessException
CoprocessorHost
checkAndGetInstance
in class CoprocessorHost<RegionServerCoprocessor,RegionServerCoprocessorEnvironment>
InstantiationException
IllegalAccessException
public void preStop(String message, User user) throws IOException
IOException
public void preRollWALWriterRequest() throws IOException
IOException
public void postRollWALWriterRequest() throws IOException
IOException
public void preReplicateLogEntries() throws IOException
IOException
public void postReplicateLogEntries() throws IOException
IOException
public ReplicationEndpoint postCreateReplicationEndPoint(ReplicationEndpoint endpoint) throws IOException
IOException
public void preClearCompactionQueues() throws IOException
IOException
public void postClearCompactionQueues() throws IOException
IOException
public void preExecuteProcedures() throws IOException
IOException
public void postExecuteProcedures() throws IOException
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.