Wangda Tan updated YARN-2493:
    Attachment: YARN-2493.patch

Updated patch avoid java doc warning,

Regarding to javac warning:
The patch deprecated some methods in {{ApplicationSubmissionContext}}, they're 
get/setPriority get/setResource. Had an offline discussion with Vinod, now we 
only have limited places to set how to get AM container resource, we cannot 
specify resourceName, relaxLocality, etc.

The only difference between AM container request and normal container request 
should be: AM container doesn't allow number of container specified. So in this 
patch, I added AM container's ResourceRequest as a part of 
{{ApplicationSubmissionContext}}, and this will be proceed first. And we will 
recommend use the ResourceRequest in the future.

> [YARN-796] API changes for users
> --------------------------------
>                 Key: YARN-2493
>                 URL: https://issues.apache.org/jira/browse/YARN-2493
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>         Attachments: YARN-2493.patch, YARN-2493.patch
> This JIRA includes API changes for users of YARN-796, like changes in 
> {{ResourceRequest}}, {{ApplicationSubmissionContext}}, etc. This is a common 
> part of YARN-796.

This message was sent by Atlassian JIRA

Reply via email to