You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Viraj Bhat (Created) (JIRA)" <ji...@apache.org> on 2012/02/24 00:29:48 UTC
[jira] [Created] (HADOOP-8107) getPriority() method within the
JobHistoryParser JobInfo class fails
getPriority() method within the JobHistoryParser JobInfo class fails
--------------------------------------------------------------------
Key: HADOOP-8107
URL: https://issues.apache.org/jira/browse/HADOOP-8107
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 0.23.0
Reporter: Viraj Bhat
Fix For: 0.23.1
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