You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amareshwari Sriramadasu (Commented) (JIRA)" <ji...@apache.org> on 2012/01/19 07:12:40 UTC
[jira] [Commented] (MAPREDUCE-3694) JobClient.getJob(JobID) broken
in 0.23 for LocalJobRunner?
[ https://issues.apache.org/jira/browse/MAPREDUCE-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188946#comment-13188946 ]
Amareshwari Sriramadasu commented on MAPREDUCE-3694:
----------------------------------------------------
I suspect the problem is with following:
0.20.20x code :
{noformat}
public JobStatus getJobStatus(JobID id) {
Job job = jobs.get(id);
if(job != null)
return job.status;
else
return null;
}
{noformat}
{noformat}
public org.apache.hadoop.mapreduce.JobStatus getJobStatus(
org.apache.hadoop.mapreduce.JobID id) {
Job job = jobs.get(JobID.downgrade(id));
if(job != null)
return job.status;
else
return null;
}
{noformat}
so Mostly, Looking into jobs through JobID.downgrade(id) might be causing the problem
> JobClient.getJob(JobID) broken in 0.23 for LocalJobRunner?
> ----------------------------------------------------------
>
> Key: MAPREDUCE-3694
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3694
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Amareshwari Sriramadasu
> Fix For: 0.23.1
>
>
> In LocalJobRunner, when a job is submitted through old JobClient, and when its status is queried from getJob(JobID), it returns null. The issue seen on HIVE-2708.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira