hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: retrieving HRegion's in AssignmentManager
Date Mon, 14 Mar 2011 23:01:42 GMT
Since region name is the only key I can find in RegionLoad, I plan to make
the following change:
  private Map<String, RegionLoad> regionLoad = new HashMap<String,
RegionLoad>();

Thanks St.Ack.

On Mon, Mar 14, 2011 at 3:48 PM, Stack <stack@duboce.net> wrote:

> On Mon, Mar 14, 2011 at 3:15 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> > The navigation is not straightfoward.
> > In HServerLoad:
> >  private ArrayList<RegionLoad> regionLoad = new ArrayList<RegionLoad>();
> > Given region name, there is no quick way of locating request count for
> the
> > region without changing data structure for regionLoad.
> >
>
> OK.
>
> Then it looks like you need to change the HSL internals IFF you need
> to access by region name.
>
> Good on you Ted,
> St.Ack
>

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