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

Make the cost functions optional for StochastoicBalancer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 1.7.0, 2.4.0, 2.3.2
    • None
    • None
    • Reviewed

    Description

      StochastoicBalancer takes a long time to generate a plan for larger clusters. We want to make the cost functions optional.
      hbase.master.balancer.stochastic.regionCountCost: 0
      hbase.master.balancer.stochastic.primaryRegionCountCost: 0
      hbase.master.balancer.stochastic.tableSkewCost: 0
      hbase.master.balancer.stochastic.rackLocalityCost:0
      hbase.master.balancer.stochastic.readRequestCost: 0
      hbase.master.balancer.stochastic.cpRequestCost: 0
      hbase.master.balancer.stochastic.writeRequestCost: 0
      hbase.master.balancer.stochastic.regionReplicaHostCostKey: 0
      hbase.master.balancer.stochastic.memstoreSizeCost: 0
      hbase.master.balancer.stochastic.storefileSizeCost: 0
      hbase.master.balancer.stochastic.regionReplicaRackCostKey: 0
      hbase.master.balancer.stochastic.serverLocalityCost:0
       
      This will turn off all cost functions
      To keep some of them, we just need to set some to positive value

      Attachments

        Activity

          People

            clarax98007 Clara Xiong
            clarax98007 Clara Xiong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: