Process ID and Hadoop job ID

2010-12-08 Thread radheshyam nanduri
Hi, I want to know if there is any way to find out the process id (PID) of a task running on a TaskTracker corresponding to a particular Hadoop job ID. All the Hadoop tasks are launched as java processes. So, is there any way to differentiate among them to get the PID of a particular task of a

Re: Process ID and Hadoop job ID

2010-12-08 Thread Harsh J
Hi, On Wed, Dec 8, 2010 at 3:18 PM, radheshyam nanduri radheshyam.nand...@gmail.com wrote: Hi, I want to know if there is any way to find out the process id (PID) of a task running on a TaskTracker corresponding to a particular Hadoop job ID. All the Hadoop tasks are launched as java

Re: Process ID and Hadoop job ID

2010-12-08 Thread Faraz Ahmad
You may want to check JvmManager.java in src/mapred/ directory. The method kill() in JvmRunner probably similar thing. On Wed, Dec 8, 2010 at 4:48 AM, radheshyam nanduri radheshyam.nand...@gmail.com wrote: Hi, I want to know if there is any way to find out the process id (PID) of a task

Re: Process ID and Hadoop job ID

2010-12-08 Thread Arun C Murthy
Moving to mapreduce-dev@, bcc common-...@. Please use project specific lists. If you have ssh access to the TT, just grep for the pid of a java process with the task-attempt-id on the cmd line: $ ps auxw | grep task-attempt-id Arun On Dec 8, 2010, at 1:48 AM, radheshyam nanduri wrote: