hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject updating region server load for AssignmentManager
Date Sat, 19 Mar 2011 17:51:22 GMT
Hi,
I plan to utilize region server load for better balancing.
Currently the following method only calls
serverManager.regionServerReport():
  public HMsg [] regionServerReport(HServerInfo serverInfo, HMsg msgs[],
    HRegionInfo[] mostLoadedRegions)
This means AssignmentManager doesn't have valid server load information.

How about adding the following method to AssignmentManager ?
public void regionServerReport(HServerInfo serverInfo, HRegionInfo[]
mostLoadedRegions)

Please comment.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message