hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 牛兆捷 <nzjem...@gmail.com>
Subject Re: container PID
Date Wed, 08 May 2013 01:45:28 GMT
Yeah~ By programming.

Thanks~ I will try.


2013/5/8 Ted Yu <yuzhihong@gmail.com>

> 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*
> > *
> > *
> >
>



-- 
*Sincerely,*
*Zhaojie*
*
*

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