hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Getting job ID from within a running task
Date Wed, 13 Sep 2006 17:45:25 GMT
Owen O'Malley wrote:
> 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.

Static methods might be simpler.  These could be on TaskTracker, or a 
new class just for this purpose.

Doug

Mime
View raw message