You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Arun Suresh (JIRA)" <ji...@apache.org> on 2017/12/25 18:56:00 UTC

[jira] [Created] (YARN-7682) Expose canAssign method in the PlacementConstraintManager

Arun Suresh created YARN-7682:
---------------------------------

             Summary: Expose canAssign method in the PlacementConstraintManager
                 Key: YARN-7682
                 URL: https://issues.apache.org/jira/browse/YARN-7682
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Arun Suresh
            Assignee: Panagiotis Garefalakis


As per discussion in YARN-7613. Lets expose {{canAssign}} method in the PlacementConstraintManager that takes a sourceTags, applicationId, SchedulerNode and AllocationTagsManager and returns true if constraints are not violated by placing the container on the node.

I prefer not passing in the SchedulingRequest, since it can have > 1 numAllocations. We want this api to be called for single allocations.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org