Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 4452 invoked from network); 26 Jul 2008 13:47:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2008 13:47:54 -0000 Received: (qmail 79387 invoked by uid 500); 26 Jul 2008 13:47:52 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 79364 invoked by uid 500); 26 Jul 2008 13:47:52 -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 79353 invoked by uid 99); 26 Jul 2008 13:47:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2008 06:47:52 -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; Sat, 26 Jul 2008 13:47:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B7A14234C18B for ; Sat, 26 Jul 2008 06:47:31 -0700 (PDT) Message-ID: <260067898.1217080051751.JavaMail.jira@brutus> Date: Sat, 26 Jul 2008 06:47:31 -0700 (PDT) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3801) Change the job state observer classes to interfaces In-Reply-To: <302967229.1216660891610.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-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617172#action_12617172 ] Steve Loughran commented on HADOOP-3801: ---------------------------------------- As someone who would add a listener to his todo list, can I state that it doesn't make that much difference to me. If it was an abstract class, I'd have to create a non-static inner class to handle the events; if it was an interface, I may still end up doing the same thing, though there it would be more optional. > Change the job state observer classes to interfaces > --------------------------------------------------- > > Key: HADOOP-3801 > URL: https://issues.apache.org/jira/browse/HADOOP-3801 > Project: Hadoop Core > Issue Type: Improvement > Reporter: Owen O'Malley > Assignee: Vivek Ratan > > Schedulers will most often want to be the observers of the job state events in a single class. Therefore, I think they should be interfaces which can have multiple inheritance. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.