[ 
https://issues.apache.org/jira/browse/YARN-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alejandro Abdelnur updated YARN-1471:
-------------------------------------

    Attachment: SLSCapacityScheduler.java

[~curino], how about the attached alternate impl for the 
SLSCapacityScheduler.java? it fully leverages the existing wrapper without 
duplicating code. You'll need to add a new constructor the the wrapper to take 
a ResourceScheduler as parameter.

The SchedulerWrapper interface should be name SLSSchedulerWrapper and the 
implementation SLSSchedulerWrapperImpl.

HTH

> 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