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 (Created) (JIRA)" <ji...@apache.org> on 2012/01/19 07:04:40 UTC

[jira] [Created] (MAPREDUCE-3694) JobClient.getJob(JobID) broken in 0.23 for LocalJobRunner?

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

        

[jira] [Commented] (MAPREDUCE-3694) JobClient.getJob(JobID) broken in 0.23 for LocalJobRunner?

Posted by "Amareshwari Sriramadasu (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (MAPREDUCE-3694) JobClient.getJob(JobID) broken in 0.23 for LocalJobRunner?

Posted by "Amareshwari Sriramadasu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-3694:
-----------------------------------------------

    Target Version/s: 0.23.1
    
> 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

        

[jira] [Updated] (MAPREDUCE-3694) JobClient.getJob(JobID) broken in 0.23 for LocalJobRunner?

Posted by "Mahadev konar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated MAPREDUCE-3694:
-------------------------------------

    Component/s: mrv2
       Priority: Critical  (was: Major)
    
> 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
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Amareshwari Sriramadasu
>            Priority: Critical
>             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

        

[jira] [Resolved] (MAPREDUCE-3694) JobClient.getJob(JobID) broken in 0.23 for LocalJobRunner?

Posted by "Amareshwari Sriramadasu (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu resolved MAPREDUCE-3694.
------------------------------------------------

          Resolution: Invalid
       Fix Version/s:     (was: 0.23.1)
    Target Version/s:   (was: 0.23.1)

Problem was because code was compiled against both 0.20 and 0.23. When I compiled the code against 0.23 alone, I do not see the issue any more.
                
> 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
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Amareshwari Sriramadasu
>            Priority: Critical
>
> 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