[
https://issues.apache.org/jira/browse/YARN-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840745#comment-13840745
]
Carlo Curino commented on YARN-1471:
------------------------------------
We spoke with Alejandro, and a plausible solution goes as follows:
The simulator instead of wrapping the scheduler sub-class it (and dynamically
pick the right one, based on configs). The subclassing allows things like the
ProportionalCapacityPreemptionPolicy (and future monitors) to work happily, and
allows us to override only the methods relevant to the simulator.
Wei, if you have nothing against it, I might try to give this a try.
> 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: Wei Yan
> Priority: Minor
>
> 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)