hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10694) TableSkewCostFunction#cost() casts integral division result to double
Date Thu, 06 Mar 2014 18:34:42 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922860#comment-13922860
] 

Jeffrey Zhong commented on HBASE-10694:
---------------------------------------

Looks good to me. +1.

> TableSkewCostFunction#cost() casts integral division result to double
> ---------------------------------------------------------------------
>
>                 Key: HBASE-10694
>                 URL: https://issues.apache.org/jira/browse/HBASE-10694
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 10694-v1.txt
>
>
> {code}
>       double min = cluster.numRegions / cluster.numServers;
> {code}
> Integral division result is cast to double.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message