[
https://issues.apache.org/jira/browse/HBASE-18610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146497#comment-16146497
]
Ted Yu edited comment on HBASE-18610 at 8/30/17 3:31 AM:
---------------------------------------------------------
Patch v7 works where chaos monkey runs in its own thread.
I tested with the following command:
{code}
./buck-out/gen/core/load-client --num_rows=200 --num_cols=3 --table=t
--families=d --appends=false -monkey=serverKilling -conf 227
{code}
was (Author: [email protected]):
If you don't see why the call to monkey runner failed, consider moving the
env_->CallStaticObjectMethod() call out of the thread:
{code}
monkey_runners_.push_back(
std::thread([&] { env_->CallStaticObjectMethod(runner_class_,
runner_method, args); }));
{code}
i.e. make env_->CallStaticObjectMethod() call inside MonkeyRunner::Run()
directly.
> Provide capability to activate chaos monkey
> -------------------------------------------
>
> Key: HBASE-18610
> URL: https://issues.apache.org/jira/browse/HBASE-18610
> Project: HBase
> Issue Type: Sub-task
> Reporter: Ted Yu
> Attachments: 18610.v1.txt, 18610.v4.txt, 18610.v5.txt, 18610.v6.txt,
> 18610.v7.txt
>
>
> Currently load-client runs against a cluster where region servers are stable.
> We need to introduce chaos monkey so that wider coverage for read path is
> exercised.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)