Class SimpleLoadBalancer

  • All Implemented Interfaces:
    TabletBalancer

    public class SimpleLoadBalancer
    extends Object
    implements TabletBalancer
    A simple tablet balancer that attempts to spread tablets out evenly across all available tablet servers. The goal is to achieve the same number of tablets on each tablet server.

    Initial assignments attempt to maintain locality by assigning tablets to their previous location if possible, but otherwise assignments are made in a random fashion across all available tablet servers.

    This balancer replaces the deprecated org.apache.accumulo.server.master.balancer.DefaultLoadBalancer which will be removed in a future release. This balancer has the same functionality but uses the stable SPI which does not expose internal types on public methods.

    Since:
    2.1.0