|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HMasterRegionInterface
HRegionServers interact with the HMasterRegionInterface to report on local goings-on and to obtain data-handling instructions from the HMaster.
Field Summary | |
---|---|
static long |
versionID
Interface version number. |
Method Summary | |
---|---|
HMsg[] |
regionServerReport(HServerInfo info,
HMsg[] msgs,
HRegionInfo[] mostLoadedRegions)
Called to renew lease, tell master what the region server is doing and to receive new instructions from the master |
org.apache.hadoop.io.MapWritable |
regionServerStartup(HServerInfo info)
Called when a region server first starts |
Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol |
---|
getProtocolVersion |
Field Detail |
---|
static final long versionID
Method Detail |
---|
org.apache.hadoop.io.MapWritable regionServerStartup(HServerInfo info) throws IOException
info
-
IOException
HMsg[] regionServerReport(HServerInfo info, HMsg[] msgs, HRegionInfo[] mostLoadedRegions) throws IOException
info
- server's address and start codemsgs
- things the region server wants to tell the mastermostLoadedRegions
- Array of HRegionInfos that should contain the
reporting server's most loaded regions. These are candidates for being
rebalanced.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |