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 E8CC310956 for ; Fri, 18 Oct 2013 01:12:43 +0000 (UTC) Received: (qmail 78318 invoked by uid 500); 18 Oct 2013 01:12:43 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 78283 invoked by uid 500); 18 Oct 2013 01:12:43 -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 78274 invoked by uid 99); 18 Oct 2013 01:12:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Oct 2013 01:12:43 +0000 Date: Fri, 18 Oct 2013 01:12:43 +0000 (UTC) From: "Tsuyoshi OZAWA (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1139) [Umbrella] Convert all RM components to Services 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-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798690#comment-13798690 ] Tsuyoshi OZAWA commented on YARN-1139: -------------------------------------- Thank you for sharing the knowledge, [~stevel@apache.org]! I created patch on YARN-1172 based on the design you mentioned - overriding serviceInit()/serviceStart()/serviceStop(). I'll also take this approach on this JIRA, because of the reason you mentioned(e.g. easy error handling). > [Umbrella] Convert all RM components to Services > ------------------------------------------------ > > Key: YARN-1139 > URL: https://issues.apache.org/jira/browse/YARN-1139 > Project: Hadoop YARN > Issue Type: Improvement > Components: resourcemanager > Affects Versions: 2.1.0-beta > Reporter: Karthik Kambatla > Assignee: Tsuyoshi OZAWA > > Some of the RM components - state store, scheduler etc. are not services. Converting them to services goes well with the "Always On" and "Active" service separation proposed on YARN-1098. > Given that some of them already have start(), stop() methods, it should not be too hard to convert them to services. > That would also be a cleaner way of addressing YARN-1125. -- This message was sent by Atlassian JIRA (v6.1#6144)