This is an automated email from the ASF dual-hosted git repository.
jiajunwang pushed a change to branch wagedRebalancer
in repository https://gitbox.apache.org/repos/asf/helix.git.
from 6db8387 Revert "Refine the WAGED rebalancer related interfaces for
integration (#431)" (#437)
add e6edcd9 Resubmit the change: Refine the WAGED rebalancer related
interfaces for integration (#431)
No new revisions were added by this update.
Summary of changes:
...Exception.java => HelixRebalanceException.java} | 25 ++---
.../changedetector/ResourceChangeDetector.java | 20 ++--
.../controller/rebalancer/GlobalRebalancer.java | 67 -------------
.../rebalancer/waged/ClusterDataDetector.java | 73 --------------
.../rebalancer/waged/ClusterDataProvider.java | 54 ----------
.../rebalancer/waged/WagedRebalancer.java | 66 ++++++++++---
...int.java => ConstraintsRebalanceAlgorithm.java} | 39 ++++----
...HardConstraint.java => RebalanceAlgorithm.java} | 35 +++----
.../waged/model/ClusterModelProvider.java | 25 ++---
.../stages/BestPossibleStateCalcStage.java | 109 +++++++++++++++------
.../waged/model/TestClusterModelProvider.java | 6 +-
11 files changed, 210 insertions(+), 309 deletions(-)
copy helix-core/src/main/java/org/apache/helix/{HelixException.java =>
HelixRebalanceException.java} (61%)
delete mode 100644
helix-core/src/main/java/org/apache/helix/controller/rebalancer/GlobalRebalancer.java
delete mode 100644
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/ClusterDataDetector.java
delete mode 100644
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/ClusterDataProvider.java
copy
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/{HardConstraint.java
=> ConstraintsRebalanceAlgorithm.java} (51%)
copy
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/{HardConstraint.java
=> RebalanceAlgorithm.java} (51%)