commit | 37fd4962bca1dbb5400c8984f34d39569f5fac45 | [log] [tgz] |
---|---|---|
author | Hunter Lee <hulee@linkedin.com> | Mon Nov 25 22:23:47 2019 -0800 |
committer | Jiajun Wang <1803880+jiajunwang@users.noreply.github.com> | Fri Feb 07 12:24:22 2020 -0800 |
tree | b0fdb968ab0d72f9fbe75b3a23b36fc90b2b748e | |
parent | f4b67ae9d7eb27798afb1a642551110dde4f9622 [diff] |
Add REST API endpoints for WAGED Rebalancer (#611) We want to make WAGED rebalancer (weight-aware) easier to use. One way to do this is to allow the user to easily add resources with weight configuration set by providing REST endpoints. This change adds the relevant REST endpoints based on the HelixAdmin APIs added in (#570). Basically, this commit uses existing REST endpoints whose hierarchy is defined by REST resource. What this commit does to the existing endpoints is 1) Add extra commands 2) Add a WAGED command as a QueryParam so that WAGED logic could be included. This change is backward-compatible because it keeps the original behavior when no commands are provided by using @DefaultValue annotation.
Helix is part of the Apache Software Foundation.
Project page: http://helix.apache.org/
Mailing list: http://helix.apache.org/mail-lists.html
mvn clean install package -DskipTests
Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features: