|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HMasterRegionInterface
The Master publishes this Interface for RegionServers to register themselves on.
| Field Summary | |
|---|---|
static long |
VERSION
This Interfaces' version. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.apache.hadoop.hbase.ipc.VersionedProtocol |
|---|
getProtocolSignature, getProtocolVersion |
| Field Detail |
|---|
static final long VERSION
| Method Detail |
|---|
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 ms
IOException - e
void 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 UI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||