hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: HDFSBlocksDistribution.getBlockLocalityIndex
Date Fri, 28 Mar 2014 04:48:23 GMT
bq. does it return the locality index for the file or all files on the host
?

the locality index for all files of online regions on the host.


On Thu, Mar 27, 2014 at 8:03 PM, Libo Yu <yu_libo@hotmail.com> wrote:

> Hi all,
>
> If I use FSUtils.
> computeHDFSBlocksDistribution, I can get HDFSBlocksDistribution for a
> file. If I call its getBlockLocalityIndex(String hostname), does it return
> the locality index for the file or all files on the host?
>
> If the return is for the file, how to get locality index for all the
> regions on the host? Thanks
>
> Libo
>

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