hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viraj Bhat (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-8107) getPriority() method within the JobHistoryParser JobInfo class fails
Date Thu, 23 Feb 2012 23:29:48 GMT
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

        

Mime
View raw message