You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Sandesh Hegde <sa...@gmail.com> on 2017/02/11 00:03:58 UTC

Yarn containers creating child process

Hi,

What are the features available to limit the Yarn containers from creating
the child process?

Thanks

Re: Yarn containers creating child process

Posted by Ravi Prakash <ra...@gmail.com>.
Hi Sandesh!

A *yarn* task is just like any other process on the operating system.
Depending on which ContainerExecutor you use, you should launch the yarn
task with appropriate limits in place. Although I have never tried it, on
Linux you could use setrlimit or
https://www.kernel.org/doc/Documentation/cgroup-v1/pids.txt . What yarn
application are you planning on using? Or creating your own?

HTH
Ravi.

On Fri, Feb 10, 2017 at 4:03 PM, Sandesh Hegde <sa...@gmail.com>
wrote:

> Hi,
>
> What are the features available to limit the Yarn containers from creating
> the child process?
>
> Thanks
>