You can override the configure method in you mapper or reducer, and call

JobConf.get("xpatterns.hadoop.content.job.id")

This will return you the UUID for the job id

On Mon, Sep 5, 2011 at 10:02 PM, Meghana <meghana.mara...@germinait.com>wrote:

> Hi,
>
> We configure a org.apache.hadoop.mapreduce.Job, and then call job.submit().
> The job starts running on the cluster. At this point, we need to log/store
> the job id of the submitted job. But calling job.getJobID() returns null,
> for our instance of the job! Is there another way to do this?
>
> We recently shifted to using 0.20.203. job.getJobID() used to work in
> 0.19....
>
> Thanks,
>
> Meghana
>



-- 

Thanks,
John C

Reply via email to