hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10694) TableSkewCostFunction#cost() casts integral division result to double
Date Fri, 07 Mar 2014 02:30:44 GMT

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

Hudson commented on HBASE-10694:
--------------------------------

SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #195 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/195/])
HBASE-10694 TableSkewCostFunction#cost() casts integral division result to double (tedyu:
rev 1575034)
* /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java


> 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
>             Fix For: 0.98.1, 0.99.0
>
>         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