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

Sunil G commented on YARN-5203:
-------------------------------

Hi [~ellenfkh]
I think we may break compatibility here since {{AppInfo}} is getting changed. 
{code}
 protected List<ResourceRequest> resourceRequests;
{code}

As of now we can get raw {{ResourceRequest}}, and for new Yarn UI we were 
planning to use the standard one (I will check new suggested jaxb object also).
I think its better we create a new list in {{AppInfo}} for 
{{ResourceRequestInfo}}. It may be duplicate, but we can deprecate old one 
later.

> 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
>         Attachments: YARN-5203.v0.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