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

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


    // 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);

    // Kill the master
    restartMasterAction = new RestartActiveMasterAction(1000);
View Full Code Here


    // 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
    restartMasterAction = new RestartActiveMasterAction(1000);

    // Give the action the access to the cluster.
View Full Code Here

        new ChangeVersionsAction(tableName)
    };

    // Destructive actions to mess things around.
    Action[] actions3 = new Action[] {
        new MoveRegionsOfTableAction(800, tableName),
        new MoveRandomRegionOfTableAction(800, tableName),
        new RestartRandomRsAction(60000),
        new BatchRestartRsAction(5000, 0.5f),
        new RestartActiveMasterAction(5000),
        new RollingBatchRestartRsAction(5000, 1.0f),
View Full Code Here

TOP

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

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.