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

Andrew Purtell commented on HBASE-9030:
---------------------------------------

How about:

- Rename DoActionsOncePolicy. The name is a bit unfortunate because it runs 
periodically.

- Add a new DoActionsOncePolicy that does not inherit from PeriodicPolicy. It's 
actions would only run once at start() and stop().

- Add a new Action that enables the balancer.

- Add a new policy SETUP_ACTION_POLICY that includes only the new balancer 
enable action.

- Create the ChaosMonkey with new ChaosMonkey(..., SETUP_ACTION_POLICY, 
EVERY_MINUTE_RANDOM_ACTION_POLICY)

?


                
> Chaos monkey can leave the balancer off.
> ----------------------------------------
>
>                 Key: HBASE-9030
>                 URL: https://issues.apache.org/jira/browse/HBASE-9030
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: Elliott Clark
>
> Our IT test cluster has been seeing really bad perf because we've seen that 
> the balancer is left off after a few tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to