You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2009/01/20 10:33:59 UTC

[jira] Updated: (HADOOP-5082) Job.getJobID() will always return null

     [ https://issues.apache.org/jira/browse/HADOOP-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amar Kamat updated HADOOP-5082:
-------------------------------

    Summary: Job.getJobID() will always return null  (was: No way to retrieve JobID from Job)

> Job.getJobID() will always return null
> --------------------------------------
>
>                 Key: HADOOP-5082
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5082
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Amar Kamat
>
> JobContext is used for a read-only view of job's info. Hence all the readonly fields in JobContext are set in the constructor. Job extends JobContext. When a Job is created, jobid is not known and hence there is no way to set JobID once Job is created. JobID is obtained only when the JobClient queries the jobTracker for a job-id., which happens later i.e upon job submission.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.