JobConf.get("mapred.task.id") gives you everything (including attempt id).

-Gang


----- 原始邮件 ----
发件人: Farhan Husain <[email protected]>
收件人: [email protected]
发送日期: 2010/4/26 (周一) 7:13:03 下午
主   题: Reducer ID

Hello,

Is it possible to know the unique id of a reducer inside the reduce or setup
method of a reducer class? I tried to find any method of the context class
which might help in this regard but could not get any.

Thanks,
Farhan




Reply via email to