[
https://issues.apache.org/jira/browse/YARN-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14125163#comment-14125163
]
Wangda Tan commented on YARN-2493:
----------------------------------
[~yufeldman],
Thanks for the suggestion,
I agree with you that adding am/app labelExpression separately is harder for
user to set (4 combinations instead of one). But the downside is we treat AM
container separately (we cannot only set label for AM container request).
Assume a user want to set label of AM = x, label of non-AM = "", he will set
label expression of app="x", and label expression of all other
ResourceRequests="". It's not very convenient for user if he wants to set label
expression of AM container different from non-AM containers.
I'm fine with your suggestions if most use cases don't need set label
expression of AM container different from non-AM containers. Let's wait more
suggestions from community.
Thanks,
Wangda
> [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
(v6.3.4#6332)