Ted Yu 2011-03-19, 17:51
Stack 2011-03-19, 18:37
-Re: updating region server load for AssignmentManager
yuzhihong@... 2011-03-19, 18:43
I will create a jira and upload patch.
Sent from my Verizon Wireless BlackBerry
From: Stack <[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]
Date: Sat, 19 Mar 2011 11:37:49
To: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: updating region server load for AssignmentManager
FYI, the regionServerReport is going away when we remove heartbeats:
hbase-1502. I imagine that the master will get load info by reading
it from zk; the assignment manager should be able to ask a Load object
for the current state of loading (TBD).
Does 1502 have to be done before you can make progress on loading? If
so, just do the below for the moment and we'll figure how to rejigger
it when 1502 goes in.
On Sat, Mar 19, 2011 at 10:51 AM, Ted Yu <[EMAIL PROTECTED]> wrote:
> I plan to utilize region server load for better balancing.
> Currently the following method only calls
> 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
> Please comment.
Ted Yu 2011-03-19, 22:34