You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@apex.apache.org by Devavrath S <de...@gmail.com> on 2017/04/06 01:52:24 UTC

Test to bring down containers

Hi All,

We wanted to have some kind of a Chaos Monkey test wherein we could bring
down containers running operators in a controlled fashion. Could anyone
kindly suggest a way/script that could bring down the containers?
We are trying test the HA feature of our application running on Apex.

Thanks & Regards,
Devavrath S

Re: Test to bring down containers

Posted by Priyanka Gugale <pr...@apache.org>.
Hi Devavrath,

You can restrict memory of your container by turning operator and buffer
server memory. More details can be found at:
http://docs.datatorrent.com/troubleshooting/#configuring-operator-memory

-Priyanka

On Thu, Apr 6, 2017 at 10:21 AM, Sandesh Hegde <sa...@datatorrent.com>
wrote:

> Apex CLI provides "list-containers" and "kill-container" commands, you can
> call them from the scripts. AppMaster exposes all these functionalities as
> REST apis, so you can directly call them as well.
>
> In the released version of the Apex, killing the  AppMaster-container
> restarts all the other containers, which is fixed in the SNAPSHOT version
> and will be part of next release.
>
>
>
> On Wed, Apr 5, 2017 at 6:52 PM Devavrath S <de...@gmail.com> wrote:
>
> Hi All,
>
> We wanted to have some kind of a Chaos Monkey test wherein we could bring
> down containers running operators in a controlled fashion. Could anyone
> kindly suggest a way/script that could bring down the containers?
> We are trying test the HA feature of our application running on Apex.
>
> Thanks & Regards,
> Devavrath S
>
>

Re: Test to bring down containers

Posted by Sandesh Hegde <sa...@datatorrent.com>.
Apex CLI provides "list-containers" and "kill-container" commands, you can
call them from the scripts. AppMaster exposes all these functionalities as
REST apis, so you can directly call them as well.

In the released version of the Apex, killing the  AppMaster-container
restarts all the other containers, which is fixed in the SNAPSHOT version
and will be part of next release.



On Wed, Apr 5, 2017 at 6:52 PM Devavrath S <de...@gmail.com> wrote:

Hi All,

We wanted to have some kind of a Chaos Monkey test wherein we could bring
down containers running operators in a controlled fashion. Could anyone
kindly suggest a way/script that could bring down the containers?
We are trying test the HA feature of our application running on Apex.

Thanks & Regards,
Devavrath S