You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sandy Ryza (JIRA)" <ji...@apache.org> on 2013/05/03 03:27:13 UTC

[jira] [Commented] (YARN-642) Fix up RMWebServices#getNodes

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

Sandy Ryza commented on YARN-642:
---------------------------------

The API has supports two params, state and healthy.  However, UNHEALTHY is a possible node state.  I propose removing the healthy param, allowing the state param to include multiple states, and if it is not specified, filtering by the NEW, RUNNING, and UNHEALTHY states.  This ensures that what's returned is the same as what's returned by the Java client.
                
> Fix up RMWebServices#getNodes
> -----------------------------
>
>                 Key: YARN-642
>                 URL: https://issues.apache.org/jira/browse/YARN-642
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: api, resourcemanager
>    Affects Versions: 2.0.4-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>              Labels: incompatible
>
> The code behind the /nodes RM REST API is unnecessarily muddled, logs the same misspelled INFO message repeatedly, and does not return unhealthy nodes, even when asked.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira