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

Carlo Curino commented on YARN-1471:
------------------------------------

Mmh... The problem is that you are creating a cycle passing "this" as the 
scheduler. E.g., calls to reinitialize for example will cycle between the two 
classes forever :-() I confirmed this integrating your code with the rest.

> The SLS simulator is not running the preemption policy for CapacityScheduler
> ----------------------------------------------------------------------------
>
>                 Key: YARN-1471
>                 URL: https://issues.apache.org/jira/browse/YARN-1471
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Carlo Curino
>            Assignee: Carlo Curino
>            Priority: Minor
>         Attachments: SLSCapacityScheduler.java, YARN-1471.patch
>
>
> The simulator does not run the ProportionalCapacityPreemptionPolicy monitor.  
> This is because the policy needs to interact with a CapacityScheduler, and 
> the wrapping done by the simulator breaks this. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to