[ 
https://issues.apache.org/jira/browse/YARN-7613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16302467#comment-16302467
 ] 

Panagiotis Garefalakis edited comment on YARN-7613 at 12/23/17 2:40 PM:
------------------------------------------------------------------------

Attaching a proof of concept patch (applied cleanly on top of YARN-7612) that 
decouples Algorithm from constraints introducing canAssign method which 
navigates thought placement constraints and just return if a placement in a 
Node is feasible or not. Currently as part of the algorithm class (debatable).

Planning Algorithm should only add logic to the way we iterate through 
SchedulingRequests and cluster Nodes and not how we satisfy the constraints - 
this is the first step towards that goal


was (Author: pgaref):
Attaching a proof of concept patch (applied cleanly on top of YARN-7612) that 
decouples Algorithm from constraints introducing canAssign method which 
navigates thought placement constraints and just return if a placement in a 
Node is feasible or not.
Currently as part of the algorithm class

> Implement Planning algorithms for rich placement
> ------------------------------------------------
>
>                 Key: YARN-7613
>                 URL: https://issues.apache.org/jira/browse/YARN-7613
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Arun Suresh
>            Assignee: Panagiotis Garefalakis
>         Attachments: YARN-7613.wip.patch
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to