From yarn-issues-return-138468-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu Feb 22 19:14:04 2018 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 03DCB18064E for ; Thu, 22 Feb 2018 19:14:03 +0100 (CET) Received: (qmail 5869 invoked by uid 500); 22 Feb 2018 18:14:03 -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 5858 invoked by uid 99); 22 Feb 2018 18:14:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2018 18:14:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 44CC5C0145 for ; Thu, 22 Feb 2018 18:14:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id gsSQNiNijD4W for ; Thu, 22 Feb 2018 18:14:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2EC635F1B3 for ; Thu, 22 Feb 2018 18:14: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 880D4E018A for ; Thu, 22 Feb 2018 18:14: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 2EFEB27131 for ; Thu, 22 Feb 2018 18:14:00 +0000 (UTC) Date: Thu, 22 Feb 2018 18:14:00 +0000 (UTC) From: "Yesha Vora (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-7961) Improve status response when yarn application is destroyed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Yesha Vora created YARN-7961: -------------------------------- Summary: Improve status response when yarn application is dest= royed Key: YARN-7961 URL: https://issues.apache.org/jira/browse/YARN-7961 Project: Hadoop YARN Issue Type: Bug Components: yarn-native-services Affects Versions: 3.1.0 Reporter: Yesha Vora Yarn should provide some way to figure out if yarn service is destroyed. If yarn service application is stopped, "yarn app -status " shows = that service is Stopped.=20 After destroying yarn service, "yarn app -status " returns 404 {code} [hdpuser@cn005 sleeper]$ yarn app -status yesha-sleeper WARNING: YARN_LOG_DIR has been replaced by HADOOP_LOG_DIR. Using value of Y= ARN_LOG_DIR. WARNING: YARN_LOGFILE has been replaced by HADOOP_LOGFILE. Using value of Y= ARN_LOGFILE. WARNING: YARN_PID_DIR has been replaced by HADOOP_PID_DIR. Using value of Y= ARN_PID_DIR. WARNING: YARN_OPTS has been replaced by HADOOP_OPTS. Using value of YARN_OP= TS. 18/02/16 11:02:30 WARN util.NativeCodeLoader: Unable to load native-hadoop = library for your platform... using builtin-java classes where applicable 18/02/16 11:02:31 INFO client.RMProxy: Connecting to ResourceManager at xxx= /xx.xx.xx.xx:8050 18/02/16 11:02:31 INFO client.AHSProxy: Connecting to Application History s= erver at xxx/xx.xx.xx.x:10200 18/02/16 11:02:31 INFO client.RMProxy: Connecting to ResourceManager at xxx= /xx.xx.xx.x:8050 18/02/16 11:02:31 INFO client.AHSProxy: Connecting to Application History s= erver at xxx/xx.xx.xx.x:10200 18/02/16 11:02:31 INFO util.log: Logging initialized @2075ms yesha-sleeper Failed : HTTP error code : 404 {code} Yarn should be able to notify user that whether a certain app is destroyed = or never created. HTTP 404 error does not explicitly provide information. =C2=A0 -- 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