hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viraj Bhat (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3912) getPriority() method within the JobHistoryParser JobInfo class fails
Date Tue, 06 Mar 2012 03:10:29 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222961#comment-13222961
] 

Viraj Bhat commented on MAPREDUCE-3912:
---------------------------------------

Hi Arun,
 Can we just change this to return NORMAL as the default value right now?
Viraj
                
> 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
>             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

        

Mime
View raw message