hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: container PID
Date Tue, 07 May 2013 17:10:06 GMT
Did you mean that you want to retrieve Pid programmatically ?

In hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/ContainerExecutor.java,
there is method:

  protected Path getPidFilePath(ContainerId containerId) {

Cheers

On Tue, May 7, 2013 at 10:06 AM, 牛兆捷 <nzjemail@gmail.com> wrote:

> Hi All:
> How can I get the pid of the running container?
>
> --
> *Sincerely,*
> *Zhaojie*
> *
> *
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message