[ 
https://issues.apache.org/jira/browse/YARN-5203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ellen Hui updated YARN-5203:
----------------------------
    Attachment: YARN-5203.v4.patch

Thanks [~subru] for the feedback.

 - Add ExecutionTypeRequestInfo object
 - Change list of ResourceRequestInfo in AppInfo to private
 - Rename testUnmarshalApp to testUnmarshalAppInfo

There is still one checkstyle error from too many arguments to 
verifyResourceRequestsGeneric in TestRMWebServicesApps, but I am inclined to 
ignore it since verifyAppInfoGeneric does the same thing.

> Return ResourceRequest JAXB object in ResourceManager Cluster Applications 
> REST API
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-5203
>                 URL: https://issues.apache.org/jira/browse/YARN-5203
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Subru Krishnan
>            Assignee: Ellen Hui
>              Labels: api-breaking, bug, incompatible
>         Attachments: YARN-5203.v0.patch, YARN-5203.v1.patch, 
> YARN-5203.v2.patch, YARN-5203.v3.patch, YARN-5203.v4.patch
>
>
> The ResourceManager Cluster Applications REST API returns {{ResourceRequest}} 
> as String rather than a JAXB object. This prevents downstream tools like 
> Federation Router (YARN-3659) that depend on the REST API to unmarshall the 
> {{AppInfo}}. This JIRA proposes updating {{AppInfo}} to return a JAXB version 
> of the {{ResourceRequest}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to