Package org.apache.hadoop.hbase.chaos.actions

Examples of org.apache.hadoop.hbase.chaos.actions.UnbalanceKillAndRebalanceAction


  @Override
  public ChaosMonkey build() {
    loadProperties();
    Policy chaosPolicy = new PeriodicRandomActionPolicy(chaosEveryMilliSec,
        new UnbalanceKillAndRebalanceAction(waitForUnbalanceMilliSec, waitForKillMilliSec,
            waitAfterBalanceMilliSec));

    return new PolicyBasedChaosMonkey(util, chaosPolicy);
  }
View Full Code Here


  @Override
  public ChaosMonkey build() {
    Policy chaosPolicy = new PeriodicRandomActionPolicy(
        CHAOS_EVERY_MS,
        new UnbalanceKillAndRebalanceAction()
    );

    return new PolicyBasedChaosMonkey(util, chaosPolicy);
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.chaos.actions.UnbalanceKillAndRebalanceAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.