[
https://issues.apache.org/jira/browse/YARN-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299659#comment-16299659
]
Weiwei Yang commented on YARN-6596:
-----------------------------------
Hi [~kkaranasos]
I have some general comments. I thought the main purpose of
{{PlacementConstraintManager}} is to store the mapping of
allocationTags/node-attributes to nodes, so these info can be used to calculate
placement based on constraints. However I did not see any data structure for
this. Instead it only stores {{Map<ApplicationId, Map<String,
PlacementConstraint>> appConstraints}}, I am not sure how useful is this. Each
allocation request already includes {{PlacementConstraint}}, why we need to
store it here?
Thanks
> Introduce Placement Constraint Manager module
> ---------------------------------------------
>
> Key: YARN-6596
> URL: https://issues.apache.org/jira/browse/YARN-6596
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Konstantinos Karanasos
> Assignee: Konstantinos Karanasos
> Attachments: YARN-6596-YARN-6592.001.patch
>
>
> This RM module will be responsible for storing placement constraints,
> allocation tags, and node attributes.
> It will be used when determining the placement of SchedulingRequests with
> constraints.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]