Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6C259BB9 for ; Thu, 11 Oct 2012 17:35:16 +0000 (UTC) Received: (qmail 26577 invoked by uid 500); 11 Oct 2012 17:35:16 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 26541 invoked by uid 500); 11 Oct 2012 17:35:16 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 26531 invoked by uid 99); 11 Oct 2012 17:35:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 17:35:16 +0000 Date: Thu, 11 Oct 2012 17:35:16 +0000 (UTC) From: "Arun C Murthy (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1110639436.27484.1349976916661.JavaMail.jiratomcat@arcas> In-Reply-To: <379712803.83377.1342811136586.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (MAPREDUCE-4468) Encapsulate FairScheduler preemption logic into helper class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun C Murthy updated MAPREDUCE-4468: ------------------------------------- Fix Version/s: (was: 2.0.2-alpha) 2.0.3-alpha > 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.0.3-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 For more information on JIRA, see: http://www.atlassian.com/software/jira