|
||||||||||
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.
Changes here need to be reflected in HbaseObjectWritable HbaseRPC#Invoker.
NOTE: if you change the interface, you must change the RPC version number in HBaseRPCProtocolVersion
Field Summary |
---|
Fields inherited from interface org.apache.hadoop.hbase.ipc.HBaseRPCProtocolVersion |
---|
versionID |
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,
long serverCurrentTime)
Called when a region server first starts |
Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol |
---|
getProtocolVersion |
Method Detail |
---|
org.apache.hadoop.io.MapWritable regionServerStartup(HServerInfo info, long serverCurrentTime) throws IOException
info
- server infoserverCurrentTime
- The current time of the region server in ms
IOException
- eHMsg[] 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
- e
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |