Class UnbalanceRegionsAction

java.lang.Object
org.apache.hadoop.hbase.chaos.actions.Action
org.apache.hadoop.hbase.chaos.actions.UnbalanceRegionsAction

public class UnbalanceRegionsAction extends Action
Action that tries to unbalance the regions of a cluster.
  • Field Details

  • Constructor Details

    • UnbalanceRegionsAction

      public UnbalanceRegionsAction(double fractionOfRegions, double fractionOfServers)
      Unbalances the regions on the cluster by choosing "target" servers, and moving some regions from each of the non-target servers to random target servers.
      Parameters:
      fractionOfRegions - Fraction of regions to move from each server.
      fractionOfServers - Fraction of servers to be chosen as targets.
  • Method Details