Junping Du commented on YARN-900:

Shouldn't be incompatible change if only deprecated GetNewApplicationResponse 
rather than remove it completely? 

> YarnClientApplication uses composition to hold GetNewApplicationResponse 
> instead of having a simpler flattened structure
> ------------------------------------------------------------------------------------------------------------------------
>                 Key: YARN-900
>                 URL: https://issues.apache.org/jira/browse/YARN-900
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Hitesh Shah
> Instead of YarnClientApplication have apis like getApplicationId, 
> getMaximumResourceCapability, etc - it currently holds a 
> GetNewApplicationResponse object. It might be simpler to get rid of 
> GetNewApplicationResponse and return a more well-suited object both at the 
> client as well from over the rpc layer.

This message was sent by Atlassian JIRA

Reply via email to