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

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


        new MoveRandomRegionOfTableAction(20000, tableName),
        new RestartRandomRsAction(60000),
        new BatchRestartRsAction(60000, 0.5f),
        new RestartActiveMasterAction(5000),
        new RollingBatchRestartRsAction(5000, 1.0f),
        new RestartRsHoldingMetaAction(35000),
    };

    // Action to log more info for debugging
    Action[] actions4 = new Action[] {
        new DumpClusterStatusAction()
View Full Code Here


        new MoveRandomRegionOfTableAction(800, tableName),
        new RestartRandomRsAction(60000),
        new BatchRestartRsAction(5000, 0.5f),
        new RestartActiveMasterAction(5000),
        new RollingBatchRestartRsAction(5000, 1.0f),
        new RestartRsHoldingMetaAction(35000)
    };

    // Action to log more info for debugging
    Action[] actions4 = new Action[] {
        new DumpClusterStatusAction()
View Full Code Here

        new MoveRegionsOfTableAction(tableName),
        new RestartRandomRsAction(60000),
        new BatchRestartRsAction(5000, 0.5f),
        new RestartActiveMasterAction(5000),
        new RollingBatchRestartRsAction(5000, 1.0f),
        new RestartRsHoldingMetaAction(35000)
    };

    return new PolicyBasedChaosMonkey(util,
        new PeriodicRandomActionPolicy(60 * 1000, actions1),
        new PeriodicRandomActionPolicy(90 * 1000, actions2),
View Full Code Here

    // Set up the action that will restart a region server holding a region from our table
    // because this table should only have one region we should be good.
    restartRSAction = new RestartRsHoldingTableAction(SLEEP_TIME, tableName.getNameAsString());

    // Set up the action that will kill the region holding meta.
    restartMetaAction = new RestartRsHoldingMetaAction(SLEEP_TIME);

    // Set up the action that will move the regions of our table.
    moveRegionAction = new MoveRegionsOfTableAction(SLEEP_TIME, tableName.getNameAsString());

    // Kill the master
View Full Code Here

    // Set up the action that will restart a region server holding a region from our table
    // because this table should only have one region we should be good.
    restartRSAction = new RestartRsHoldingTableAction(sleepTime, tableName.getNameAsString());

    // Set up the action that will kill the region holding meta.
    restartMetaAction = new RestartRsHoldingMetaAction(sleepTime);

    // Set up the action that will move the regions of our table.
    moveRegionAction = new MoveRegionsOfTableAction(sleepTime, tableName.getNameAsString());

    // Kill the master
View Full Code Here

    // Set up the action that will restart a region server holding a region from our table
    // because this table should only have one region we should be good.
    restartRSAction = new RestartRsHoldingTableAction(sleepTime, tableName.getNameAsString());

    // Set up the action that will kill the region holding meta.
    restartMetaAction = new RestartRsHoldingMetaAction(sleepTime);

    // Set up the action that will move the regions of our table.
    moveRegionAction = new MoveRegionsOfTableAction(sleepTime,
        MonkeyConstants.DEFAULT_MOVE_REGIONS_MAX_TIME, tableName);
View Full Code Here

        new RestartRandomRsAction(restartRandomRSSleepTime),
        new BatchRestartRsAction(batchRestartRSSleepTime, batchRestartRSRatio),
        new RestartActiveMasterAction(restartActiveMasterSleepTime),
        new RollingBatchRestartRsAction(rollingBatchRestartRSSleepTime,
            rollingBatchRestartRSRatio),
        new RestartRsHoldingMetaAction(restartRsHoldingMetaSleepTime)
    };

    // Action to log more info for debugging
    Action[] actions4 = new Action[] {
        new DumpClusterStatusAction()
View Full Code Here

        new RestartRandomRsAction(restartRandomRSSleepTime),
        new BatchRestartRsAction(batchRestartRSSleepTime, batchRestartRSRatio),
        new RestartActiveMasterAction(restartActiveMasterSleepTime),
        new RollingBatchRestartRsAction(rollingBatchRestartRSSleepTime,
            rollingBatchRestartRSRatio),
        new RestartRsHoldingMetaAction(restartRsHoldingMetaSleepTime)
    };

    // Action to log more info for debugging
    Action[] actions4 = new Action[] {
        new DumpClusterStatusAction()
View Full Code Here

        new MoveRegionsOfTableAction(800, 1600, tableName),
        new MoveRandomRegionOfTableAction(800, tableName),
        new RestartRandomRsAction(60000),
        new BatchRestartRsAction(5000, 0.5f),
        new RollingBatchRestartRsAction(5000, 1.0f),
        new RestartRsHoldingMetaAction(35000)
    };

    // Action to log more info for debugging
    Action[] actions3 = new Action[] {
        new DumpClusterStatusAction()
View Full Code Here

    // Set up the action that will restart a region server holding a region from our table
    // because this table should only have one region we should be good.
    restartRSAction = new RestartRsHoldingTableAction(sleepTime, tableName.getNameAsString());

    // Set up the action that will kill the region holding meta.
    restartMetaAction = new RestartRsHoldingMetaAction(sleepTime);

    // Set up the action that will move the regions of our table.
    moveRegionAction = new MoveRegionsOfTableAction(sleepTime,
        MonkeyConstants.DEFAULT_MOVE_REGIONS_MAX_TIME, tableName);
View Full Code Here

TOP

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

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.