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

New MoveCostFunction that respects MaxMovePercent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 1.2.0
    • None
    • Balancer
    • CentOS Derivative with a derivative of the 3.18.43 kernel. HBase on CDH5.9.0 with some patches. HDFS CDH 5.9.0 with no patches.

    • Patch

    Description

      The balancer does not fully respect the maxMovePercent configuration.

      Specifically, if the number of regions being moved is less than 600, the balancer currently allows that number of region moves regardless of what value is set for maxMovePercent.

      This patch fixes that behavior and simplifies the moveCost function as well. In addition, this patch adds short-circuiting logic to the balancer to terminate early once the maximum number of moves are reached (and assuming the new plan has enough of a cost improvement).

      Attachments

        1. HBASE-17709-02.patch
          9 kB
          Kahlil Oppenheimer
        2. HBASE-17709-01.patch
          10 kB
          Kahlil Oppenheimer
        3. HBASE-17709-00.patch
          10 kB
          Kahlil Oppenheimer

        Activity

          People

            kahliloppenheimer Kahlil Oppenheimer
            kahliloppenheimer Kahlil Oppenheimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: