Package org.apache.pinot.tools
Class PinotTableRebalancer
- java.lang.Object
-
- org.apache.pinot.tools.PinotZKChanger
-
- org.apache.pinot.tools.PinotTableRebalancer
-
public class PinotTableRebalancer extends PinotZKChanger
Helper class for pinot-admin tool's RebalanceTable command.
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.tools.PinotZKChanger
_clusterName, _helixAdmin, _helixManager, _propertyStore
-
-
Constructor Summary
Constructors Constructor Description PinotTableRebalancer(String zkAddress, String clusterName, boolean dryRun, boolean reassignInstances, boolean includeConsuming, boolean bootstrap, boolean downtime, int minReplicasToKeepUpForNoDowntime, boolean bestEffort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RebalanceResultrebalance(String tableNameWithType)-
Methods inherited from class org.apache.pinot.tools.PinotZKChanger
getHelixAdmin, getHelixManager, isStable, printSegmentAssignment, waitForStable
-
-
-
-
Method Detail
-
rebalance
public RebalanceResult rebalance(String tableNameWithType)
-
-