You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by WangYQ <wa...@163.com> on 2016/06/23 04:06:34 UTC

(无主题)

there is a class named "HDFSBlockDistribution",  use a tree map "hostAndWeight" to store data
private Map<String, HostAndWeight> hostAndWeight

I think we can use
private Map<String, Long> hostAndWeight
to store data


thanks

Re: (无主题)

Posted by ramkrishna vasudevan <ra...@gmail.com>.
Hi WangYQ,

For code related suggestions if you feel there is an improvement or bug it
is preferrable to raise a JIRA and give a patch. Pls feel free to raise a
JIRA with your suggestion and why you plan to change it.

Regards
Ram

On Thu, Jun 23, 2016 at 9:36 AM, WangYQ <wa...@163.com> wrote:

>
> there is a class named "HDFSBlockDistribution",  use a tree map
> "hostAndWeight" to store data
> private Map<String, HostAndWeight> hostAndWeight
>
> I think we can use
> private Map<String, Long> hostAndWeight
> to store data
>
>
> thanks