Package org.apache.druid.server.coordinator.balancer
@ParametersAreNonnullByDefault
package org.apache.druid.server.coordinator.balancer
-
ClassDescriptionRepresents a segment picked for moving by a balancer strategy.Segment balancing strategy, used in every coordinator run by
StrategicSegmentAssignerto choose optimal servers to load, move or drop a segment.Deprecated.This is currently being used only in tests for benchmarking purposes and will be removed in future releases.Deprecated.This is currently being used only in tests for benchmarking purposes and will be removed in future releases.ABalancerStrategywhich can be used when historicals in a tier have varying disk capacities.A simpleBalancerStrategythat assigns segments randomly amongst eligible servers performs no balancingSegmentsCostCache provides faster way to calculate cost function proposed inCostBalancerStrategy.Calculates the maximum, minimum and required number of segments to move in a Coordinator run for balancing.Balances segments within the servers of a tier using the balancer strategy.