@InterfaceAudience.Private public abstract class HBaseRpcServicesBase<S extends HBaseServerBase<?>> extends Object implements org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterface, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterface, HBaseRPCErrorHandler, PriorityFunction, ConfigurationObserver
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_BOOTSTRAP_NODE_LIMIT |
static int |
DEFAULT_CLIENT_BOOTSTRAP_NODE_LIMIT |
protected PriorityFunction |
priority |
protected RpcServer |
rpcServer |
protected S |
server |
| Modifier | Constructor and Description |
|---|---|
protected |
HBaseRpcServicesBase(S server,
String processName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearCompactionQueues, clearRegionBlockCache, closeRegion, compactionSwitch, compactRegion, executeProcedures, flushRegion, getOnlineRegion, getRegionInfo, getRegionLoad, getServerInfo, getSpaceQuotaSnapshots, getStoreFile, openRegion, replay, replicateToReplica, replicateWALEntry, rollWALWriter, stopServer, updateFavoredNodes, warmupRegionpublic static final String CLIENT_BOOTSTRAP_NODE_LIMIT
public static final int DEFAULT_CLIENT_BOOTSTRAP_NODE_LIMIT
protected final S extends HBaseServerBase<?> server
protected final RpcServer rpcServer
protected final PriorityFunction priority
protected HBaseRpcServicesBase(S server, String processName) throws IOException
IOExceptionprotected abstract boolean defaultReservoirEnabled()
protected abstract DNS.ServerType getDNSServerType()
protected abstract String getHostname(org.apache.hadoop.conf.Configuration conf, String defaultHostname)
protected abstract String getPortConfigName()
protected abstract int getDefaultPort()
protected abstract PriorityFunction createPriority()
protected abstract Class<?> getRpcSchedulerFactoryClass(org.apache.hadoop.conf.Configuration conf)
protected abstract List<RpcServer.BlockingServiceAndInterface> getServices()
protected final void internalStart(ZKWatcher zkWatcher)
protected final void requirePermission(String request, Permission.Action perm) throws IOException
IOExceptionpublic AccessChecker getAccessChecker()
public ZKPermissionWatcher getZkPermissionWatcher()
protected final void internalStop()
public org.apache.hadoop.conf.Configuration getConfiguration()
public S getServer()
public InetSocketAddress getSocketAddress()
public RpcServerInterface getRpcServer()
public RpcScheduler getRpcScheduler()
public int getPriority(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader header, org.apache.hbase.thirdparty.com.google.protobuf.Message param, User user)
PriorityFunctiongetPriority in interface PriorityFunctionpublic long getDeadline(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader header, org.apache.hbase.thirdparty.com.google.protobuf.Message param)
PriorityFunctiongetDeadline in interface PriorityFunctionpublic boolean checkOOME(Throwable e)
checkOOME in interface HBaseRPCErrorHandlere - the throwablepublic void onConfigurationChange(org.apache.hadoop.conf.Configuration conf)
onConfigurationChange in interface ConfigurationObserverpublic org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetClusterIdResponse getClusterId(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetClusterIdRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
getClusterId in interface org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterfaceorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetActiveMasterResponse getActiveMaster(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetActiveMasterRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
getActiveMaster in interface org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterfaceorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetMastersResponse getMasters(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetMastersRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
getMasters in interface org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterfaceorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetMetaRegionLocationsResponse getMetaRegionLocations(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetMetaRegionLocationsRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
getMetaRegionLocations in interface org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterfaceorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic final org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetBootstrapNodesResponse getBootstrapNodes(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.GetBootstrapNodesRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
getBootstrapNodes in interface org.apache.hadoop.hbase.shaded.protobuf.generated.RegistryProtos.ClientMetaService.BlockingInterfaceorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.UpdateConfigurationResponse updateConfiguration(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.UpdateConfigurationRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
updateConfiguration in interface org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterfaceorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ClearSlowLogResponses clearSlowLogsResponses(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ClearSlowLogResponseRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
clearSlowLogsResponses in interface org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterfaceorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.LogEntry getLogEntries(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.LogRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
getLogEntries in interface org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterfaceorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.