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 6CF979279 for ; Thu, 15 Mar 2012 21:17:02 +0000 (UTC) Received: (qmail 50335 invoked by uid 500); 15 Mar 2012 21:17:02 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 50303 invoked by uid 500); 15 Mar 2012 21:17:02 -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 50292 invoked by uid 99); 15 Mar 2012 21:17:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 21:17:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 21:16:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F33A322B3C for ; Thu, 15 Mar 2012 21:16:38 +0000 (UTC) Date: Thu, 15 Mar 2012 21:16:38 +0000 (UTC) From: "Steve Loughran (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <746728782.21166.1331846198997.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <793531586.19146.1331821778613.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-4014) Make yarn-common services robust MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230558#comment-13230558 ] Steve Loughran commented on MAPREDUCE-4014: ------------------------------------------- I'm going to submit an initial patch soon, but want to flag up something first. Should CompositeService attempt to {{stop()}} all its child services when told to {{stop()}} itself - regardless of what state the it is in? This would be consistent with a philosophy of "support the stop operation regardless of your state". Without that you can't reliably clean up during failed start operations -which the CompositeService itself tries to do by stopping all child services if any one of them fails to start - including the service that failed. > Make yarn-common services robust > -------------------------------- > > Key: MAPREDUCE-4014 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4014 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: mrv2 > Affects Versions: 0.23.1, 0.24.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Labels: yarn > > Review the yarn common services ({{CompositeService}}, {{AbstractLivelinessMonitor}} and make their service startup _and especially shutdown_ more robust against out-of-lifecycle invocation and partially complete initialization. > Write tests for these where possible. -- 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