If new API, use the available Map/Reduce context object:

context.getJobName()

If old API:

Grab the configuration object and look for value of "mapred.job.name".

On Thu, Apr 19, 2012 at 5:31 AM, Qu Chen <chenqu...@gmail.com> wrote:
> Hi,
>
> I am trying to get the actual job name (e.g. WordCount, Sort, etc) inside
> MapTask class. How can I do that?
>
> Thanks,
>
> - Qu



-- 
Harsh J

Reply via email to