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 2893E200D0C for ; Mon, 21 Aug 2017 23:17:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 25220165B84; Mon, 21 Aug 2017 21:17:05 +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 65C4E165B85 for ; Mon, 21 Aug 2017 23:17:04 +0200 (CEST) Received: (qmail 60236 invoked by uid 500); 21 Aug 2017 21:17:03 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 60223 invoked by uid 99); 21 Aug 2017 21:17:03 -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; Mon, 21 Aug 2017 21:17:03 +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 8E06D1A0AC0 for ; Mon, 21 Aug 2017 21:17:02 +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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 8U7lu_b6knUS for ; Mon, 21 Aug 2017 21:17: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 01B055FB98 for ; Mon, 21 Aug 2017 21:17: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 79492E09FE for ; Mon, 21 Aug 2017 21:17: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 32D5E2537F for ; Mon, 21 Aug 2017 21:17:00 +0000 (UTC) Date: Mon, 21 Aug 2017 21:17:00 +0000 (UTC) From: "Yesha Vora (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-7065) [RM UI] App status not getting updated in "All application" page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 21 Aug 2017 21:17:05 -0000 Yesha Vora created YARN-7065: -------------------------------- Summary: [RM UI] App status not getting updated in "All application" page Key: YARN-7065 URL: https://issues.apache.org/jira/browse/YARN-7065 Project: Hadoop YARN Issue Type: Bug Reporter: Yesha Vora Scenario: 1) Run Spark Long Running application 2) Do RM and NN failover randomly 3) Validate App state in Yarn The Spark applications are finished. Yarn-cli returns correct status of yarn application. {code} [hrt_qa@xxx hadoopqe]$ yarn application -status application_1503203977699_0014 17/08/21 16:56:10 INFO client.AHSProxy: Connecting to Application History server at host1 xxx.xx.xx.x:10200 17/08/21 16:56:10 INFO client.RequestHedgingRMFailoverProxyProvider: Looking for the active RM in [rm1, rm2]... 17/08/21 16:56:10 INFO client.RequestHedgingRMFailoverProxyProvider: Found active RM [rm1] Application Report : Application-Id : application_1503203977699_0014 Application-Name : org.apache.spark.sql.execution.datasources.hbase.examples.LRJobForDataSources Application-Type : SPARK User : hrt_qa Queue : default Application Priority : null Start-Time : 1503215983532 Finish-Time : 1503250203806 Progress : 0% State : FAILED Final-State : FAILED Tracking-URL : https://host1:8090/cluster/app/application_1503203977699_0014 RPC Port : -1 AM Host : N/A Aggregate Resource Allocation : 174722793 MB-seconds, 170603 vcore-seconds Log Aggregation Status : SUCCEEDED Diagnostics : Application application_1503203977699_0014 failed 20 times due to AM Container for appattempt_1503203977699_0014_000020 exited with exitCode: 1 For more detailed output, check the application tracking page: https://host1:8090/cluster/app/application_1503203977699_0014 Then click on links to logs of each attempt. Diagnostics: Exception from container-launch. Container id: container_e04_1503203977699_0014_20_000001 Exit code: 1 Stack trace: org.apache.hadoop.yarn.server.nodemanager.containermanager.runtime.ContainerExecutionException: Launch container failed at org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DefaultLinuxContainerRuntime.launchContainer(DefaultLinuxContainerRuntime.java:109) at org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime.launchContainer(DelegatingLinuxContainerRuntime.java:89) at org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.launchContainer(LinuxContainerExecutor.java:392) at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:317) at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:83) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Shell output: main : command provided 1 main : run as user is hrt_qa main : requested yarn user is hrt_qa Getting exit code file... Creating script paths... Writing pid file... Writing to tmp file /grid/0/hadoop/yarn/local/nmPrivate/application_1503203977699_0014/container_e04_1503203977699_0014_20_000001/container_e04_1503203977699_0014_20_000001.pid.tmp Writing to cgroup task files... Creating local dirs... Launching container... Getting exit code file... Creating script paths... Container exited with a non-zero exit code 1 Failing this attempt. Failing the application. Unmanaged Application : false Application Node Label Expression : AM container Node Label Expression : {code} However, RM UI "All application" page still shows the application in "RUNNING" State. https://host1:8090/cluster On clicking application_id ( https://host1:8090/cluster/app/application_1503203977699_0014) , it redirects to application page and there it shows correct application state = Failed. The App status is not getting updated on Yarn All Application page. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-dev-help@hadoop.apache.org