Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 20580 invoked from network); 28 Jul 2008 18:12:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jul 2008 18:12:32 -0000 Received: (qmail 92851 invoked by uid 500); 28 Jul 2008 18:12:30 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 92834 invoked by uid 500); 28 Jul 2008 18:12:30 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 92822 invoked by uid 99); 28 Jul 2008 18:12:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 11:12:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 18:11:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D2B38234C186 for ; Mon, 28 Jul 2008 11:11:31 -0700 (PDT) Message-ID: <1968341116.1217268691862.JavaMail.jira@brutus> Date: Mon, 28 Jul 2008 11:11:31 -0700 (PDT) From: "Doug Cutting (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3822) Create a public scheduler API In-Reply-To: <1157406505.1216912171617.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617495#action_12617495 ] Doug Cutting commented on HADOOP-3822: -------------------------------------- > he extols the virtues of interfaces over abstract classes What are they? Can you summarize? Are they significant? > So perhaps the developer API (which is "less public") is the place where it is OK to introduce interfaces [...] Perhaps, if there are significant advantages to interfaces. The ability to implement multiple interfaces in a single class can save a few lines of code, but doesn't really seem significant to me when compared to the huge cost of freezing the API. I like Steve's guidelines (above) for abstract classes. Perhaps we should document these (and more) in the wiki or someplace, and try to validate our abstract APIs against them. There are added potential pitfalls when using abstract classes instead of interfaces, and we should work hard to avoid them. > Create a public scheduler API > ----------------------------- > > Key: HADOOP-3822 > URL: https://issues.apache.org/jira/browse/HADOOP-3822 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Reporter: Tom White > Fix For: 0.19.0 > > Attachments: hadoop-3822.patch, hadoop-3822.sh > > > The work in HADOOP-3412 provided an API to support pluggable schedulers. However implementations have to be in the org.apache.hadoop.mapred package, which is undesirable. The goal of this issue is to create a public API for scheduler writers to code against. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.