You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/03/06 18:54:43 UTC

[jira] [Created] (HBASE-10694) TableSkewCostFunction#cost() casts integral division result to double

Ted Yu created HBASE-10694:
------------------------------

             Summary: 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
            Priority: Minor


{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)