Package org.apache.hadoop.hbase.util.ChaosMonkey

Examples of org.apache.hadoop.hbase.util.ChaosMonkey.RestartRsHoldingMeta


    ChaosMonkey.Action[] actions = new ChaosMonkey.Action[] {
        new RestartRandomRs(60000),
        new BatchRestartRs(5000, 0.5f),
        new RestartActiveMaster(5000),
        new RollingBatchRestartRs(5000, 1.0f),
        new RestartRsHoldingMeta(35000),
        new RestartRsHoldingRoot(35000)
    };
    monkey = new ChaosMonkey(util, new ChaosMonkey.CompositeSequentialPolicy(
            new ChaosMonkey.DoActionsOncePolicy(CHAOS_EVERY_MS, actions),
            new ChaosMonkey.PeriodicRandomActionPolicy(CHAOS_EVERY_MS, actions)));
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.util.ChaosMonkey.RestartRsHoldingMeta

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.