Re:Re: how to get each task's process

2011-03-30 Thread 朱韬
Harsh: I found that jvmManager.getPid(...) returned the pid of MapTaskRunner, but I want to get the task's pid. For example, I ran the the example randomwrite, the pid of task which is writing is 8268, but jvmManager.getPid(...) seemed to be its parent pid. I can not figure out the

Re:Re: how to get each task's process

2011-03-29 Thread 朱韬
Nan: Thanks, I mean process, not progress 在 2011-03-29 23:05:29,"Nan Zhu" 写道: >TaskStatus.getprogress() is helpful > >Best, >Nan > >2011/3/29 朱韬 > >> hi,guys: >> I want to monitor each tasks' io usage, do can I get each task's >> process id? >> I used jvmManager.getPid(tip.