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 08:34:59 UTC
[jira] Created: (HADOOP-5082) No way to retrieve JobID from Job
No way to retrieve JobID from Job
---------------------------------
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.
[jira] Updated: (HADOOP-5082) Job.getJobID() will always return
null
Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (HADOOP-5082) No way to retrieve JobID from Job
Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665375#action_12665375 ]
Amar Kamat commented on HADOOP-5082:
------------------------------------
bq. What are we trying to solve here? What feature do we need? Or what bug are we fixing?
{code}
Configuration conf = new Configuration();
// populate conf for some job
Job job = new Job(conf);
job.submit();
// what should be the expected value of job.getJobID() ?
// As of today we get null
{code}
> No way to retrieve JobID from Job
> ---------------------------------
>
> 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.
[jira] Commented: (HADOOP-5082) No way to retrieve JobID from Job
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665371#action_12665371 ]
Arun C Murthy commented on HADOOP-5082:
---------------------------------------
What are we trying to solve here? What feature do we need? Or what bug are we fixing?
> No way to retrieve JobID from Job
> ---------------------------------
>
> 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.