Re: Test to bring down containers

2 views
Skip to first unread message

Ashwin Chandra Putta

unread,
Apr 5, 2017, 10:25:30 PM4/5/17
to dt-u...@googlegroups.com, devav...@gmail.com
//dropping apex users mailing list and adding dt-users list

Devavrath,

You can easily solve this by using the DT Gateway REST API. Use the following API call to kill specific containers from a script.

/ws/v2/applications/{appid}/physicalPlan/containers/{containerId}/kill


Regards,
Ashwin.


On Wed, Apr 5, 2017 at 6:52 PM, Devavrath S <devav...@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



--

Regards,
Ashwin.

Devavrath S

unread,
Apr 6, 2017, 3:29:11 AM4/6/17
to Ashwin Chandra Putta, dt-u...@googlegroups.com
Hi Ashwin,

I thank you for your mail. I had one more follow up question.
I have several operators spawned which are all input operators. I am using an external Message Queuing system for communication between the operators instead of the traditional streaming and hence I do not require a heavy container (in size).
Is there a knob to tune the container size via the application? Because I might have hundreds of operators spawned and cannot have heavy containers.

Thanks & Regards,
Devavrath S

Ashwin Putta

unread,
Apr 7, 2017, 3:31:20 PM4/7/17
to Devavrath S, Ashwin Chandra Putta, dt-u...@googlegroups.com
Devavrath,

This should give you a good starting point on tuning the memory for the container with configuration.


Regards,
Ashwin.

--
You received this message because you are subscribed to the Google Groups "DataTorrent Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dt-users+u...@googlegroups.com.
To post to this group, send email to dt-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dt-users/CALzAcj_22WqWr0q3Zp-%3Do1nGY%3DitqZj4UkAdgQUL4RMH%3Dddh4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Regards,
Ashwin Chandra Putta.

Reply all
Reply to author
Forward
0 new messages