Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10694

TableSkewCostFunction#cost() casts integral division result to double

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.98.1, 0.99.0
    • None
    • None
    • Reviewed

    Description

            double min = cluster.numRegions / cluster.numServers;
      

      Integral division result is cast to double.

      Attachments

        1. 10694-v1.txt
          0.8 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: