hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meghana <meghana.mara...@germinait.com>
Subject Re: How to get JobID in code?
Date Wed, 07 Sep 2011 04:44:18 GMT
Ok, will try that. Thanks!

..meghana


On 6 September 2011 20:25, John Conwell <john@iamjohn.me> wrote:

> 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.marathe@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message