@InterfaceAudience.LimitedPrivate(value="Tools") public class HRegionServer extends Thread implements RegionServerServices, LastSequenceId, ConfigurationObserver
Thread.State, Thread.UncaughtExceptionHandlerRegionServerServices.PostOpenDeployContext, RegionServerServices.RegionStateTransitionContext| Modifier and Type | Field and Description |
|---|---|
protected ClusterConnection |
clusterConnection
Cluster connection to be shared by services.
|
protected String |
clusterId
Unique identifier for the cluster we are a part of.
|
protected ClusterStatusTracker |
clusterStatusTracker |
protected org.apache.hadoop.conf.Configuration |
conf |
protected ConfigurationManager |
configurationManager
Configuration manager is used to register/deregister and notify the configuration observers
when the regionserver is notified that there was a change in the on disk configs.
|
protected ExecutorService |
executorService |
protected InfoServer |
infoServer |
static String |
REGIONSERVER
region server process name
|
protected RSRpcServices |
rpcServices |
protected ServerName |
serverName
The server name the Master sees us as.
|
protected Sleeper |
sleeper |
protected long |
startcode
This servers startcode.
|
protected TableDescriptors |
tableDescriptors
Go here to get table descriptors.
|
static boolean |
TEST_SKIP_REPORTING_TRANSITION
For testing only! Set to true to skip notifying region assignment to master .
|
protected String |
useThisHostnameInstead
hostname specified by hostname config
|
protected ZKWatcher |
zooKeeper |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
HRegionServer(org.apache.hadoop.conf.Configuration conf)
Starts a HRegionServer at the default location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort(String reason,
Throwable cause)
Cause the server to exit without closing the regions it is serving, the log it is using and
without notifying the master.
|
void |
addRegion(HRegion region)
Add to online regions.
|
protected boolean |
cacheTableDescriptor() |
protected boolean |
canCreateBaseZNode() |
protected boolean |
canUpdateTableDescriptor() |
protected boolean |
closeRegion(String encodedName,
boolean abort,
ServerName destination)
Close asynchronously a region, can be called from the master or internally by the regionserver
when stopping.
|
protected void |
configureInfoServer() |
protected ClusterConnection |
createClusterConnection() |
Connection |
createConnection(org.apache.hadoop.conf.Configuration conf) |
org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad |
createRegionLoad(String encodedRegionName) |
protected ServerName |
createRegionServerStatusStub(boolean refresh)
Get the current master from ZooKeeper and open the RPC connection to it.
|
protected RSRpcServices |
createRpcServices() |
void |
dumpRowLocks(PrintWriter out)
Used by
RSDumpServlet to generate debugging information. |
void |
finishRegionProcedure(long procId)
|
AccessChecker |
getAccessChecker()
Returns the
AccessChecker |
Optional<ServerName> |
getActiveMaster() |
List<ServerName> |
getBackupMasters() |
Optional<BlockCache> |
getBlockCache()
May be null if this is a master which not carry table.
|
BrokenStoreFileCleaner |
getBrokenStoreFileCleaner() |
ChoreService |
getChoreService()
Returns The
ChoreService instance for this server |
ClusterConnection |
getClusterConnection()
Returns a reference to the servers' cluster connection.
|
String |
getClusterId() |
CompactedHFilesDischarger |
getCompactedHFilesDischarger() |
double |
getCompactionPressure() |
CompactionRequester |
getCompactionRequestor() |
CompactSplit |
getCompactSplitThread()
Returns the underlying
CompactSplit for the servers |
org.apache.hadoop.conf.Configuration |
getConfiguration()
Gets the configuration object for this server.
|
Connection |
getConnection()
Returns a reference to the servers' connection.
|
CoordinatedStateManager |
getCoordinatedStateManager()
Get CoordinatedStateManager instance for this server.
|
protected org.apache.hadoop.fs.Path |
getDataRootDir()
Returns Return the rootDir.
|
protected Class<? extends javax.servlet.http.HttpServlet> |
getDumpServlet() |
NettyEventLoopGroupConfig |
getEventLoopGroupConfig() |
ExecutorService |
getExecutorService()
Returns hbase executor service
|
InetSocketAddress[] |
getFavoredNodesForRegion(String encodedRegionName)
Return the favored nodes for a region given its encoded name.
|
org.apache.hadoop.fs.FileSystem |
getFileSystem()
Returns Return the FileSystem object used (can return null!).
|
double |
getFlushPressure() |
FlushRequester |
getFlushRequester()
Returns reference to FlushRequester
|
ThroughputController |
getFlushThroughputController()
Returns the controller to avoid flush too fast
|
HeapMemoryManager |
getHeapMemoryManager()
Returns heap memory manager instance
|
InfoServer |
getInfoServer()
Returns the info server
|
org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds |
getLastSequenceId(byte[] encodedRegionName) |
LeaseManager |
getLeaseManager()
Returns The RegionServer's "Leases" service
|
MasterAddressTracker |
getMasterAddressTracker()
Returns Master address tracker instance.
|
MemStoreFlusher |
getMemStoreFlusher() |
MetaRegionLocationCache |
getMetaRegionLocationCache() |
MetricsRegionServer |
getMetrics()
Returns the metrics tracker for the region server
|
Optional<MobFileCache> |
getMobFileCache()
May be null if this is a master which not carry table.
|
org.apache.hadoop.hbase.regionserver.HRegionServer.MovedRegionInfo |
getMovedRegion(String encodedRegionName) |
NamedQueueRecorder |
getNamedQueueRecorder()
get NamedQueue Provider to add different logs to ringbuffer
|
ServerNonceManager |
getNonceManager()
Only required for "old" log replay; if it's removed, remove this.
|
int |
getNumberOfOnlineRegions() |
HRegion |
getOnlineRegion(byte[] regionName) |
protected Map<String,HRegion> |
getOnlineRegions() |
Collection<HRegion> |
getOnlineRegionsLocalContext()
For tests, web ui and metrics.
|
Set<TableName> |
getOnlineTables()
Gets the online tables in this RS.
|
protected String |
getProcessName() |
protected HRegion |
getRegion(byte[] regionName)
Protected Utility method for safely obtaining an HRegion handle.
|
HRegion |
getRegion(String encodedRegionName)
Return
Region instance. |
HRegion |
getRegionByEncodedName(String encodedRegionName) |
List<HRegion> |
getRegions()
Get all online regions in this RS.
|
List<HRegion> |
getRegions(TableName tableName)
Gets the online regions of the specified table.
|
RegionServerAccounting |
getRegionServerAccounting()
Returns the RegionServerAccounting for this Region Server
|
RegionServerCoprocessorHost |
getRegionServerCoprocessorHost() |
String[] |
getRegionServerCoprocessors() |
RegionServerRpcQuotaManager |
getRegionServerRpcQuotaManager()
Returns RegionServer's instance of
RegionServerRpcQuotaManager |
Iterator<ServerName> |
getRegionServers() |
RegionServerSpaceQuotaManager |
getRegionServerSpaceQuotaManager()
Returns RegionServer's instance of
RegionServerSpaceQuotaManager |
ConcurrentMap<byte[],Boolean> |
getRegionsInTransitionInRS()
Get the regions that are currently being opened or closed in the RS
|
ReplicationSourceService |
getReplicationSourceService()
Returns Return the object that implements the replication source executorService.
|
long |
getRetryPauseTime()
Return pause time configured in
HConstants.HBASE_RPC_SHORTOPERATION_RETRY_PAUSE_TIME} |
RpcServerInterface |
getRpcServer()
Returns a reference to the region server's RPC server
|
RSMobFileCleanerChore |
getRSMobFileCleanerChore() |
RSRpcServices |
getRSRpcServices() |
SecureBulkLoadManager |
getSecureBulkLoadManager()
Returns RegionServer's instance of
SecureBulkLoadManager |
ServerName |
getServerName()
Returns The unique server name for this server.
|
long |
getStartcode()
Returns time stamp in millis of when this region server was started
|
TableDescriptors |
getTableDescriptors()
Returns Return table descriptors implementation.
|
protected String |
getUseThisHostnameInstead(org.apache.hadoop.conf.Configuration conf) |
WAL |
getWAL(RegionInfo regionInfo)
Returns the WAL for a particular region.
|
org.apache.hadoop.fs.FileSystem |
getWALFileSystem()
Returns Return the walFs.
|
Map<String,ReplicationStatus> |
getWalGroupsReplicationStatus() |
LogRoller |
getWalRoller() |
org.apache.hadoop.fs.Path |
getWALRootDir()
Returns Return the walRootDir.
|
List<WAL> |
getWALs()
Returns the List of WALs that are used by this server Doesn't include the meta WAL
|
ZKPermissionWatcher |
getZKPermissionWatcher()
Returns
ZKPermissionWatcher |
ZKWatcher |
getZooKeeper()
Gets the ZooKeeper instance for this server.
|
protected void |
handleReportForDutyResponse(org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse c) |
protected void |
initializeMemStoreChunkCreator() |
boolean |
isAborted() |
boolean |
isClusterUp()
Returns True if the cluster is up.
|
boolean |
isOnline()
Report the status of the server.
|
boolean |
isShutDown() |
boolean |
isStopped()
Returns true if a stop has been requested.
|
boolean |
isStopping()
Returns True is the server is Stopping
|
protected void |
kill() |
protected void |
login(UserProvider user,
String host) |
static void |
main(String[] args) |
int |
movedRegionCacheExpiredTime() |
void |
onConfigurationChange(org.apache.hadoop.conf.Configuration newConf) |
void |
postOpenDeployTasks(RegionServerServices.PostOpenDeployContext context)
Tasks to perform after region open to complete deploy of region on regionserver
|
EntityLock |
regionLock(List<RegionInfo> regionInfos,
String description,
Abortable abort)
Master based locks on namespaces/tables/regions.
|
boolean |
registerService(com.google.protobuf.Service instance)
Registers a new protocol buffer
Service subclass as a coprocessor endpoint to be
available for handling |
void |
remoteProcedureComplete(long procId,
Throwable error) |
boolean |
removeRegion(HRegion r,
ServerName destination)
Removes the given Region from the list of onlineRegions.
|
boolean |
reportFileArchivalForQuotas(TableName tableName,
Collection<Map.Entry<String,Long>> archivedFiles)
Reports a collection of files, and their sizes, that belonged to the given
table were
just moved to the archive directory. |
boolean |
reportRegionSizesForQuotas(RegionSizeStore regionSizeStore)
Reports the given map of Regions and their size on the filesystem to the active Master.
|
boolean |
reportRegionStateTransition(RegionServerServices.RegionStateTransitionContext context)
Notify master that a handler requests to change a region state
|
void |
run()
The HRegionServer sticks in this loop until closed.
|
protected boolean |
setAbortRequested()
Sets the abort state if not already set.
|
protected void |
setupClusterConnection()
Setup our cluster connection if not already initialized.
|
protected void |
shutdownChore(ScheduledChore chore) |
void |
stop(String msg) |
void |
stop(String msg,
boolean force,
User user)
Stops the regionserver.
|
protected void |
stopServiceThreads()
Wait on all threads to finish.
|
String |
toString() |
protected void |
tryRegionServerReport(long reportStartTime,
long reportEndTime) |
void |
unassign(byte[] regionName)
Unassign the given region from the current regionserver and assign it randomly.
|
void |
updateRegionFavoredNodesMapping(String encodedRegionName,
List<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ServerName> favoredNodes)
Used to update the favored nodes mapping when required.
|
protected void |
waitForMasterActive()
Wait for an active Master.
|
void |
waitForServerOnline() |
boolean |
walRollRequestFinished()
For testing
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield@InterfaceAudience.Private public static boolean TEST_SKIP_REPORTING_TRANSITION
protected ClusterConnection clusterConnection
protected TableDescriptors tableDescriptors
protected ExecutorService executorService
protected final org.apache.hadoop.conf.Configuration conf
protected InfoServer infoServer
public static final String REGIONSERVER
protected final ZKWatcher zooKeeper
protected final ClusterStatusTracker clusterStatusTracker
protected final Sleeper sleeper
protected ServerName serverName
protected String useThisHostnameInstead
protected final long startcode
protected String clusterId
protected final RSRpcServices rpcServices
protected final ConfigurationManager configurationManager
public HRegionServer(org.apache.hadoop.conf.Configuration conf)
throws IOException
startServices().IOExceptionprotected String getUseThisHostnameInstead(org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionprotected void login(UserProvider user, String host) throws IOException
IOExceptionprotected void waitForMasterActive()
protected String getProcessName()
protected boolean canCreateBaseZNode()
protected boolean canUpdateTableDescriptor()
protected boolean cacheTableDescriptor()
protected RSRpcServices createRpcServices() throws IOException
IOExceptionprotected void configureInfoServer()
protected Class<? extends javax.servlet.http.HttpServlet> getDumpServlet()
public void dumpRowLocks(PrintWriter out)
RSDumpServlet to generate debugging information.public boolean registerService(com.google.protobuf.Service instance)
RegionServerServicesService subclass as a coprocessor endpoint to be
available for handlingregisterService in interface RegionServerServicesinstance - the Service subclass instance to expose as a coprocessor endpointtrue if the registration was successful, falseprotected ClusterConnection createClusterConnection() throws IOException
IOExceptionpublic String getClusterId()
protected void setupClusterConnection()
throws IOException
IOExceptionpublic boolean isClusterUp()
isClusterUp in interface RegionServerServicespublic void run()
@InterfaceAudience.Private
protected void tryRegionServerReport(long reportStartTime,
long reportEndTime)
throws IOException
IOExceptionpublic boolean reportRegionSizesForQuotas(RegionSizeStore regionSizeStore)
reportRegionSizesForQuotas in interface RegionServerServicesregionSizeStore - The store containing region sizespublic NamedQueueRecorder getNamedQueueRecorder()
protected void handleReportForDutyResponse(org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse c) throws IOException
IOExceptionprotected void initializeMemStoreChunkCreator()
public RegionServerAccounting getRegionServerAccounting()
RegionServerServicesgetRegionServerAccounting in interface RegionServerServicespublic org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad createRegionLoad(String encodedRegionName) throws IOException
IOExceptionpublic boolean isOnline()
public MasterAddressTracker getMasterAddressTracker()
public List<WAL> getWALs()
RegionServerServicesgetWALs in interface RegionServerServicespublic WAL getWAL(RegionInfo regionInfo) throws IOException
RegionServerServicesgetWAL in interface RegionServerServicesIOExceptionpublic LogRoller getWalRoller()
public Connection getConnection()
ServergetConnection in interface Serverpublic ClusterConnection getClusterConnection()
ServerServer.getConnection().
Important note: this method returns a reference to Connection which is managed by Server
itself, so callers must NOT attempt to close connection obtained.getClusterConnection in interface Serverpublic void stop(String msg, boolean force, User user)
msg - Status messageforce - True if this is a regionserver abortuser - The user executing the stop request, or null if no user is associatedpublic void waitForServerOnline()
public void postOpenDeployTasks(RegionServerServices.PostOpenDeployContext context) throws IOException
RegionServerServicespostOpenDeployTasks in interface RegionServerServicescontext - the contextIOExceptionpublic boolean reportRegionStateTransition(RegionServerServices.RegionStateTransitionContext context)
RegionServerServicesreportRegionStateTransition in interface RegionServerServicespublic RpcServerInterface getRpcServer()
RegionServerServicesgetRpcServer in interface RegionServerServices@InterfaceAudience.Private public RSRpcServices getRSRpcServices()
public void abort(String reason, Throwable cause)
protected boolean setAbortRequested()
@InterfaceAudience.Private protected void kill()
protected final void shutdownChore(ScheduledChore chore)
protected void stopServiceThreads()
@InterfaceAudience.Private public ReplicationSourceService getReplicationSourceService()
@InterfaceAudience.Private protected ServerName createRegionServerStatusStub(boolean refresh)
refresh - If true then master address will be read from ZK, otherwise use cached datapublic org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds getLastSequenceId(byte[] encodedRegionName)
getLastSequenceId in interface LastSequenceIdencodedRegionName - Encoded region namepublic InfoServer getInfoServer()
public boolean isStopped()
public boolean isStopping()
ServerisStopping in interface Serverpublic org.apache.hadoop.conf.Configuration getConfiguration()
ServergetConfiguration in interface Serverpublic int getNumberOfOnlineRegions()
public Collection<HRegion> getOnlineRegionsLocalContext()
public void addRegion(HRegion region)
MutableOnlineRegionsaddRegion in interface MutableOnlineRegionspublic long getStartcode()
public FlushRequester getFlushRequester()
getFlushRequester in interface RegionServerServicesFlushRequester or null. Usually it will not be null unless
during intialization.public CompactionRequester getCompactionRequestor()
getCompactionRequestor in interface RegionServerServicesCompactionRequester or null. Usually it will not be null
unless during intialization.public LeaseManager getLeaseManager()
RegionServerServicesgetLeaseManager in interface RegionServerServicesprotected org.apache.hadoop.fs.Path getDataRootDir()
public org.apache.hadoop.fs.FileSystem getFileSystem()
ServergetFileSystem in interface Serverpublic org.apache.hadoop.fs.Path getWALRootDir()
public org.apache.hadoop.fs.FileSystem getWALFileSystem()
public ZKWatcher getZooKeeper()
ServergetZooKeeper in interface Serverpublic CoordinatedStateManager getCoordinatedStateManager()
ServergetCoordinatedStateManager in interface Serverpublic ServerName getServerName()
ServergetServerName in interface Serverpublic RegionServerCoprocessorHost getRegionServerCoprocessorHost()
public ConcurrentMap<byte[],Boolean> getRegionsInTransitionInRS()
RegionServerServicesgetRegionsInTransitionInRS in interface RegionServerServicespublic ExecutorService getExecutorService()
RegionServerServicesgetExecutorService in interface RegionServerServicespublic ChoreService getChoreService()
ServerChoreService instance for this servergetChoreService in interface Serverpublic RegionServerRpcQuotaManager getRegionServerRpcQuotaManager()
RegionServerServicesRegionServerRpcQuotaManagergetRegionServerRpcQuotaManager in interface RegionServerServicespublic Map<String,ReplicationStatus> getWalGroupsReplicationStatus()
public static void main(String[] args)
HRegionServerCommandLinepublic List<HRegion> getRegions(TableName tableName)
hbase:meta. Only returns online regions.
If a region on this table has been closed during a disable, etc., it will not be included in
the returned list. So, the returned list may not necessarily be ALL regions in this table, its
all the ONLINE regions in the table.getRegions in interface OnlineRegionstableName - table to limit the scope of the querytableNamepublic List<HRegion> getRegions()
OnlineRegionsgetRegions in interface OnlineRegionspublic Set<TableName> getOnlineTables()
public String[] getRegionServerCoprocessors()
protected boolean closeRegion(String encodedName, boolean abort, ServerName destination) throws NotServingRegionException
If an opening was in progress, this method will cancel it, but will not start a new close. The coprocessors are not called in this case. A NotServingRegionException exception is thrown.
If a close was in progress, this new request will be ignored, and an exception thrown.
encodedName - Region to closeabort - True if we are abortingdestination - Where the Region is being moved too... maybe null if unknown.NotServingRegionException - if the region is not onlinepublic HRegion getOnlineRegion(byte[] regionName)
regionName or null if named region is not
member of the online regions.public HRegion getRegion(String encodedRegionName)
OnlineRegionsRegion instance. Only works if caller is in same context, in same JVM. Region is
not serializable.getRegion in interface OnlineRegionsencodedRegionName or null if named region is
not member of the online regions.public boolean removeRegion(HRegion r, ServerName destination)
MutableOnlineRegionsremoveRegion in interface MutableOnlineRegionsr - Region to remove.destination - Destination, if any, null otherwise.protected HRegion getRegion(byte[] regionName) throws NotServingRegionException
regionName - Name of online HRegion to returnHRegion for regionNameNotServingRegionExceptionpublic HRegion getRegionByEncodedName(String encodedRegionName) throws NotServingRegionException
NotServingRegionExceptionpublic void updateRegionFavoredNodesMapping(String encodedRegionName, List<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ServerName> favoredNodes)
FavoredNodesForRegionupdateRegionFavoredNodesMapping in interface FavoredNodesForRegionpublic InetSocketAddress[] getFavoredNodesForRegion(String encodedRegionName)
regionFavoredNodesMap on why we convert to InetSocketAddress[] here.getFavoredNodesForRegion in interface FavoredNodesForRegionencodedRegionName - the encoded region name.public ServerNonceManager getNonceManager()
RegionServerServicesgetNonceManager in interface RegionServerServices@InterfaceAudience.Private public org.apache.hadoop.hbase.regionserver.HRegionServer.MovedRegionInfo getMovedRegion(String encodedRegionName)
@InterfaceAudience.Private public int movedRegionCacheExpiredTime()
public CompactSplit getCompactSplitThread()
CompactSplit for the serverspublic Optional<BlockCache> getBlockCache()
getBlockCache in interface RegionServerServicespublic Optional<MobFileCache> getMobFileCache()
getMobFileCache in interface RegionServerServicespublic AccessChecker getAccessChecker()
RegionServerServicesAccessCheckergetAccessChecker in interface RegionServerServicespublic ZKPermissionWatcher getZKPermissionWatcher()
RegionServerServicesZKPermissionWatchergetZKPermissionWatcher in interface RegionServerServicespublic TableDescriptors getTableDescriptors()
getTableDescriptors in interface RegionServerServicespublic double getCompactionPressure()
getCompactionPressure in interface RegionServerServicesStore.getCompactionPressure()public HeapMemoryManager getHeapMemoryManager()
RegionServerServicesgetHeapMemoryManager in interface RegionServerServicespublic MemStoreFlusher getMemStoreFlusher()
@InterfaceAudience.Private public boolean walRollRequestFinished()
public ThroughputController getFlushThroughputController()
RegionServerServicesgetFlushThroughputController in interface RegionServerServicespublic double getFlushPressure()
getFlushPressure in interface RegionServerServicespublic void onConfigurationChange(org.apache.hadoop.conf.Configuration newConf)
onConfigurationChange in interface ConfigurationObserverpublic MetricsRegionServer getMetrics()
RegionServerServicesgetMetrics in interface RegionServerServicespublic SecureBulkLoadManager getSecureBulkLoadManager()
RegionServerServicesSecureBulkLoadManagergetSecureBulkLoadManager in interface RegionServerServicespublic EntityLock regionLock(List<RegionInfo> regionInfos, String description, Abortable abort)
RegionServerServicesregionLock in interface RegionServerServicespublic void unassign(byte[] regionName)
throws IOException
RegionServerServicesSee HBASE-17712 for more details.
unassign in interface RegionServerServicesIOExceptionpublic RegionServerSpaceQuotaManager getRegionServerSpaceQuotaManager()
RegionServerServicesRegionServerSpaceQuotaManagergetRegionServerSpaceQuotaManager in interface RegionServerServicespublic boolean reportFileArchivalForQuotas(TableName tableName, Collection<Map.Entry<String,Long>> archivedFiles)
RegionServerServicestable were
just moved to the archive directory.reportFileArchivalForQuotas in interface RegionServerServicestableName - The name of the table that files previously belonged toarchivedFiles - Files and their sizes that were moved to archivetrue if the files were successfully reported, false otherwise.public NettyEventLoopGroupConfig getEventLoopGroupConfig()
public Connection createConnection(org.apache.hadoop.conf.Configuration conf) throws IOException
createConnection in interface ServerIOExceptionpublic void remoteProcedureComplete(long procId,
Throwable error)
public void finishRegionProcedure(long procId)
procId - the id of the open/close region procedurepublic boolean isShutDown()
@InterfaceAudience.Private public CompactedHFilesDischarger getCompactedHFilesDischarger()
@InterfaceAudience.Private public long getRetryPauseTime()
HConstants.HBASE_RPC_SHORTOPERATION_RETRY_PAUSE_TIME}public Optional<ServerName> getActiveMaster()
public List<ServerName> getBackupMasters()
public Iterator<ServerName> getRegionServers()
public MetaRegionLocationCache getMetaRegionLocationCache()
@InterfaceAudience.Private public BrokenStoreFileCleaner getBrokenStoreFileCleaner()
@InterfaceAudience.Private public RSMobFileCleanerChore getRSMobFileCleanerChore()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.