From yarn-issues-return-165464-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri Mar 22 02:51:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id F0B1F180621 for ; Fri, 22 Mar 2019 03:51:02 +0100 (CET) Received: (qmail 46274 invoked by uid 500); 22 Mar 2019 02:51:01 -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 46252 invoked by uid 99); 22 Mar 2019 02:51:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2019 02:51:00 +0000 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 6952FE008D for ; Fri, 22 Mar 2019 02:51: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 1D31A24597 for ; Fri, 22 Mar 2019 02:51:00 +0000 (UTC) Date: Fri, 22 Mar 2019 02:51:00 +0000 (UTC) From: "kyungwan nam (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-9386) destroying yarn-service is allowed even though running state 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-9386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] kyungwan nam updated YARN-9386: ------------------------------- Attachment: YARN-9386.002.patch > destroying yarn-service is allowed even though running state > ------------------------------------------------------------ > > Key: YARN-9386 > URL: https://issues.apache.org/jira/browse/YARN-9386 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-native-services > Reporter: kyungwan nam > Assignee: kyungwan nam > Priority: Major > Attachments: YARN-9386.001.patch, YARN-9386.002.patch > > > It looks very dangerous to destroy a running app. It should not be allowed. > {code} > [yarn-ats@test ~]$ yarn app -list > 19/03/12 17:48:49 INFO client.RMProxy: Connecting to ResourceManager at test1.com/10.1.1.11:8050 > 19/03/12 17:48:50 INFO client.AHSProxy: Connecting to Application History server at test1.com/10.1.1.101:10200 > Total number of applications (application-types: [], states: [SUBMITTED, ACCEPTED, RUNNING] and tags: []):3 > Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL > application_1551250841677_0003 fb yarn-service ambari-qa default RUNNING UNDEFINED 100% N/A > application_1552379723611_0002 fb1 yarn-service yarn-ats default RUNNING UNDEFINED 100% N/A > application_1550801435420_0001 ats-hbase yarn-service yarn-ats default RUNNING UNDEFINED 100% N/A > [yarn-ats@test ~]$ yarn app -destroy fb1 > 19/03/12 17:49:02 INFO client.RMProxy: Connecting to ResourceManager at test1.com/10.1.1.11:8050 > 19/03/12 17:49:02 INFO client.AHSProxy: Connecting to Application History server at test1.com/10.1.1.101:10200 > 19/03/12 17:49:02 INFO client.RMProxy: Connecting to ResourceManager at test1.com/10.1.1.11:8050 > 19/03/12 17:49:02 INFO client.AHSProxy: Connecting to Application History server at test1.com/10.1.1.101:10200 > 19/03/12 17:49:02 INFO util.log: Logging initialized @1637ms > 19/03/12 17:49:07 INFO client.ApiServiceClient: Successfully destroyed service fb1 > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org