hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen O'Malley <o...@yahoo-inc.com>
Subject Re: Getting job ID from within a running task
Date Wed, 13 Sep 2006 17:37:35 GMT

On Sep 13, 2006, at 10:17 AM, Doug Cutting wrote:

> Owen O'Malley wrote:
>> In particular, conf.get("mapred.job.id") and conf.get 
>> ("mapred.task.id") will do the job.
>
> Should we add JobConf methods for these?

We should probably have a TaskConf that does:

public class TaskConf extends JobConf {
   public String getJobId() {...}
   public String getTaskId() {...}
}

since they don't really make much sense except for the object that is  
passed down to the tasks.

Mime
View raw message