Yeah~ By programming. Thanks~ I will try.
2013/5/8 Ted Yu <[email protected]> > 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, 牛兆捷 <[email protected]> wrote: > > > Hi All: > > How can I get the pid of the running container? > > > > -- > > *Sincerely,* > > *Zhaojie* > > * > > * > > > -- *Sincerely,* *Zhaojie* * *
