hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kahlil Oppenheimer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17709) New MoveCostFunction that respects MaxMovePercent
Date Tue, 28 Feb 2017 19:14:45 GMT
Kahlil Oppenheimer created HBASE-17709:

             Summary: New MoveCostFunction that respects MaxMovePercent
                 Key: HBASE-17709
                 URL: https://issues.apache.org/jira/browse/HBASE-17709
             Project: HBase
          Issue Type: Bug
          Components: Balancer
    Affects Versions: 1.2.0
         Environment: 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.
            Reporter: Kahlil Oppenheimer
            Priority: Minor

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

This message was sent by Atlassian JIRA

View raw message