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

Thomas Graves commented on MAPREDUCE-4024:
------------------------------------------

You are correct in that it will not work for lower case values.  
equalsIgnoreCase is not needed, it could have been just equals.  It does work 
as intended/documented though.  We could change it to accept lower case if that 
is preferable.


documentation states: 
the job state - valid values are: NEW, INITED, RUNNING, SUCCEEDED, FAILED, 
KILL_WAIT, KILLED, ERROR
The final status of the application if finished - reported by the application 
itself - valid values are: UNDEFINED, SUCCEEDED, FAILED, KILLED




                
> RM webservices can't query on finalStatus
> -----------------------------------------
>
>                 Key: MAPREDUCE-4024
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4024
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.2
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>             Fix For: 0.23.3
>
>         Attachments: MAPREDUCE-4024.patch
>
>
> The resource manager web service api to get the list of apps doesn't have a 
> query parameter for finalStatus.  It has one for the state but since that 
> isn't what is reported by app master so we really need to be able to query on 
> both state and finalStatus.

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

        

Reply via email to