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 "Jason Lowe (JIRA)" <ji...@apache.org> on 2012/08/21 00:20:38 UTC

[jira] [Resolved] (MAPREDUCE-3912) getPriority() method within the JobHistoryParser JobInfo class fails

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

Jason Lowe resolved MAPREDUCE-3912.
-----------------------------------

    Resolution: Duplicate
      Assignee: Jason Lowe
    
> getPriority() method within the JobHistoryParser JobInfo class fails
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3912
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3912
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Viraj Bhat
>            Assignee: Jason Lowe
>             Fix For: 0.24.0
>
>
> When you use the following set of statements:
> {code}
> JobHistoryParser.JobInfo jobInfo;
> jobInfo.getPriority(); //fails
> {code}
> The problem is that {code}   public String getPriority() { return priority.toString(); } {code} will fail if the "priority" is null. 
> I was expecting priority to return a "NORMAL" value
> Viraj

--
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