hbase-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/HBASE-10694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated HBASE-10694:
---------------------------

    Attachment: 10694-v1.txt

> 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