[
https://issues.apache.org/jira/browse/YARN-6593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109100#comment-16109100
]
Konstantinos Karanasos commented on YARN-6593:
----------------------------------------------
Thanks for the feedback, [~jianhe].
bq. should we have an example class to demonstrate how to use the APIs for
different scenarios as mentioned in the document? I think that's useful for
users.
I have some first examples in {{PlacementConstraints}}. Do you think we should
add them in a different class?
bq. looks like the allocationTag is modeled as a single key, I think a
key/value pair will be more flexible ? Like I want to associate different
dimensions of informations to the container.
We talked a lot about this with [~leftnoteasy] and [[email protected]],
and decided it would be easier for the users to add the tags as a value with
null key, given that tags do not have values. Still we can add multiple tags to
a container. Can you give an example that we cannot support with the current
proposal?
> [API] Introduce Placement Constraint object
> -------------------------------------------
>
> Key: YARN-6593
> URL: https://issues.apache.org/jira/browse/YARN-6593
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Konstantinos Karanasos
> Assignee: Konstantinos Karanasos
> Attachments: YARN-6593.001.patch, YARN-6593.002.patch,
> YARN-6593.003.patch, YARN-6593.004.patch, YARN-6593.005.patch,
> YARN-6593.006.patch, YARN-6593.007.patch, YARN-6593.008.patch
>
>
> Just removed Fixed version and moved it to target version as we set fix
> version only after patch is committed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]