You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ryan Hennig (JIRA)" <ji...@apache.org> on 2012/07/20 21:17:34 UTC

[jira] [Updated] (MAPREDUCE-4468) Encapsulate FairScheduler preemption logic into helper class

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

Ryan Hennig updated MAPREDUCE-4468:
-----------------------------------

    Attachment: MAPREDUCE-4468.patch

This change was made almost entirely with the automated refactoring tools in eclipse
                
> Encapsulate FairScheduler preemption logic into helper class
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-4468
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4468
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: scheduler
>            Reporter: Ryan Hennig
>            Priority: Minor
>              Labels: refactoring, scheduler
>             Fix For: 2.1.0-alpha
>
>         Attachments: MAPREDUCE-4468.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> I've extracted the preemption logic from the Fair Scheduler into a helper class so that FairScheduler is closer to following the Single Responsibility Principle.  This may eventually evolve into a generalized preemption module which could be leveraged by other schedulers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira