public interface HMasterRegionInterface extends VersionedProtocol
Modifier and Type | Field and Description |
---|---|
static long |
VERSION
This Interfaces' version.
|
Modifier and Type | Method and Description |
---|---|
void |
regionServerReport(byte[] sn,
HServerLoad hsl) |
org.apache.hadoop.io.MapWritable |
regionServerStartup(int port,
long serverStartcode,
long serverCurrentTime)
Called when a region server first starts.
|
void |
reportRSFatalError(byte[] sn,
String errorMessage)
Called by a region server to report a fatal error that is causing
it to abort.
|
getProtocolSignature, getProtocolVersion
static final long VERSION
org.apache.hadoop.io.MapWritable regionServerStartup(int port, long serverStartcode, long serverCurrentTime) throws IOException
port
- Port number this regionserver is up on.serverStartcode
- This servers' startcode.serverCurrentTime
- The current time of the region server in msIOException
- evoid regionServerReport(byte[] sn, HServerLoad hsl) throws IOException
sn
- ServerName.getVersionedBytes()
hsl
- Server load.IOException
void reportRSFatalError(byte[] sn, String errorMessage)
sn
- ServerName.getVersionedBytes()
errorMessage
- informative text to expose in the master logs and UICopyright © 2014 The Apache Software Foundation. All Rights Reserved.