There really is no way. The RM also has no knowledge of map tasks vs reduce tasks nor should it know.
--Bobby On 8/22/12 8:23 PM, "Shekhar Gupta" <shkhr...@gmail.com> wrote: >In ResourceManager, is there any way to findout if the assigned container >is going to execute a mapping task or a reduce task? I can access objects >Container, Application and Request in ResourceManager, can I somehow get >TaskId by using any of these objects?? Please let me know a way. > >Thanks.