[ 
https://issues.apache.org/jira/browse/HBASE-11348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037826#comment-14037826
 ] 

Vandana Ayyalasomayajula commented on HBASE-11348:
--------------------------------------------------

For the book, will the following description of the change be okay ?
{quote}
After the changes from HBASE-11348, the chaos monkeys used to run integration 
tests can be configured for each run. The user can create a java properties 
file and configure
chaos monkeys. The properties file needs to be in hbase classpath. The various 
properties that can be configured and their default values can be found in 
org.apache.hadoop.hbase.chaos.factories.MonkeyConstants class. 
If any chaos monkey configuration is missing in the property file, then the 
default values would be assumed.
Example:
bin/hbase org.apache.hadoop.hbase.IntegrationTestIngest -m slowDeterministic 
-monkeyProps monkey.properties
The above command will start the integration tests and chaos monkey. 
Contents of monkey.properties:
sdm.action1.period=120000
sdm.action2.period=40000
move.regions.sleep.time=80000
move.regions.max.time=1000000
move.regions.sleep.time=80000
batch.restart.rs.ratio=0.4f
{quote}

> Make frequency and sleep times of  chaos monkeys configurable 
> --------------------------------------------------------------
>
>                 Key: HBASE-11348
>                 URL: https://issues.apache.org/jira/browse/HBASE-11348
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.98.3
>            Reporter: Vandana Ayyalasomayajula
>            Assignee: Vandana Ayyalasomayajula
>            Priority: Minor
>              Labels: integration-tests
>         Attachments: HBASE-11348_1.patch, HBASE-11348_2.patch
>
>
> Currently the chaos monkeys used in the integration tests, run with a fixed 
> configuration. It would be useful to have the frequency, sleep times to be 
> configurable. That would help controlling the chaos the monkeys are intended 
> to create.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to