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