Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 38D422004A1 for ; Thu, 24 Aug 2017 16:55:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3759B16AF88; Thu, 24 Aug 2017 14:55:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 79FBE16AF86 for ; Thu, 24 Aug 2017 16:55:05 +0200 (CEST) Received: (qmail 3279 invoked by uid 500); 24 Aug 2017 14:55:04 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 3016 invoked by uid 99); 24 Aug 2017 14:55:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2017 14:55:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 126471A179A for ; Thu, 24 Aug 2017 14:55:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2JPLFnaJalXP for ; Thu, 24 Aug 2017 14:55:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id CBC6960D26 for ; Thu, 24 Aug 2017 14:55:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DB05AE09A7 for ; Thu, 24 Aug 2017 14:55:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 89DB125382 for ; Thu, 24 Aug 2017 14:55:00 +0000 (UTC) Date: Thu, 24 Aug 2017 14:55:00 +0000 (UTC) From: "Billie Rinaldi (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-7091) Rename application to service in yarn-native-services MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 24 Aug 2017 14:55:06 -0000 [ https://issues.apache.org/jira/browse/YARN-7091?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16140= 119#comment-16140119 ]=20 Billie Rinaldi commented on YARN-7091: -------------------------------------- [~jianhe], I am very happy about the effects of these changes. I think stan= dardizing on the name "service" in yarn-native-services will really clarify= our terminology. A few comments on patch 01: * regarding hadoop-yarn-services-core, are other modules planned under hado= op-yarn-services? If not, we could combine these into a single module * change YARN_SERVICESAPI_OPTS in yarn-env.sh to YARN_APISERVER_OPTS * change deleteApplication / updateApplication log statements to delete ser= vice / update service in ApplicationApiService. Also, the variable name upd= ateAppData should be changed (I am not as concerned about the variable appN= ame, since it=E2=80=99s also the YARN app name) * rename ApplicationApiService and ApplicationApiWebApp to ApiServer and Ap= iWebApp or ApiServerWebApp * in the yaml, check for usages of =E2=80=9Can service=E2=80=9D -- it shoul= d be =E2=80=9Ca service.=E2=80=9D For =E2=80=9CGet an service details=E2=80= =9D just remove =E2=80=9Can.=E2=80=9D Check for uses of =E2=80=9Capp=E2=80= =9D -- =E2=80=9Capp-component=E2=80=9D should be =E2=80=9Ccomponent,=E2=80= =9D other usages of =E2=80=9Capp=E2=80=9D should change to =E2=80=9Cservice= =E2=80=9D (but look out for =E2=80=9Can app=E2=80=9D) -- except webapp whic= h is fine. The API records java classes have the same issues (since they ar= e generated from the yaml) * (unrelated) in the yaml, we should mention the format reqs for component = name and service name * rename ServiceApiUtil methods with =E2=80=9Capplication=E2=80=9D in the n= ame (loadApplication, validateAndResolveApplication, etc.) * ActionListArgs and SliderActions have =E2=80=9Can service=E2=80=9D * there are some git artifacts in the patch - ContainerState.java~HEAD, Con= tainerState.java~HEAD_0, and a couple other versions of ContainerState > Rename application to service in yarn-native-services > ----------------------------------------------------- > > Key: YARN-7091 > URL: https://issues.apache.org/jira/browse/YARN-7091 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Jian He > Assignee: Jian He > Attachments: YARN-7091.yarn-native-services.01.patch > > -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org