Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 EE0321040D for ; Thu, 13 Jun 2013 22:35:20 +0000 (UTC) Received: (qmail 47196 invoked by uid 500); 13 Jun 2013 22:35:20 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 47156 invoked by uid 500); 13 Jun 2013 22:35:20 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 47099 invoked by uid 99); 13 Jun 2013 22:35:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 22:35:20 +0000 Date: Thu, 13 Jun 2013 22:35:20 +0000 (UTC) From: "Siddharth Seth (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-811) Add a set of final _init/_start/_stop methods to CompositeService 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/YARN-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682846#comment-13682846 ] Siddharth Seth commented on YARN-811: ------------------------------------- Trying to do this would probably mean that AbstractService would be aware of CompositeService. Depends on whether there's value in doing this. Looking at the code base - there's places where a Composite Service makes a super.start() call in the middle of it's start code - and that may complicate this (MRAppMaster for example) > Add a set of final _init/_start/_stop methods to CompositeService > ----------------------------------------------------------------- > > Key: YARN-811 > URL: https://issues.apache.org/jira/browse/YARN-811 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Siddharth Seth > Fix For: 2.1.0-beta > > > Classes which implement AbstractService no longer need to make a super.init, start, stop call. The same could be done for CompositeService as well. -- 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