Yuliya Feldman commented on YARN-2493:


I suspect that #2 will be the most common, since either somebody will set label 
for whole application, or will set label for non-AM container resource requests 
programmatically (kind of #3). I think I saw in the comments: ability to set it 
separately for mappers and reducers.
In my personal opinion it is better to at least restrict input parameters to 
one (not two), otherwise we would need to take care of 4 combinations instead 
of just 1.
In any case I am fine with the changes.

> [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