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 B8E80200C17 for ; Fri, 6 Jan 2017 02:40:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B7CFA160B42; Fri, 6 Jan 2017 01:40:01 +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 0D990160B4D for ; Fri, 6 Jan 2017 02:40:00 +0100 (CET) Received: (qmail 90097 invoked by uid 500); 6 Jan 2017 01:39:59 -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 89847 invoked by uid 99); 6 Jan 2017 01:39:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2017 01:39:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 80AB82C1F56 for ; Fri, 6 Jan 2017 01:39:59 +0000 (UTC) Date: Fri, 6 Jan 2017 01:39:59 +0000 (UTC) From: "Junping Du (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-3905) Application History Server UI NPEs when accessing apps run after RM restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 06 Jan 2017 01:40:01 -0000 [ https://issues.apache.org/jira/browse/YARN-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junping Du updated YARN-3905: ----------------------------- Fix Version/s: 2.8.0 > Application History Server UI NPEs when accessing apps run after RM restart > --------------------------------------------------------------------------- > > Key: YARN-3905 > URL: https://issues.apache.org/jira/browse/YARN-3905 > Project: Hadoop YARN > Issue Type: Bug > Components: timelineserver > Affects Versions: 2.7.0, 2.8.0, 2.7.1 > Reporter: Eric Payne > Assignee: Eric Payne > Fix For: 2.8.0, 2.7.2, 3.0.0-alpha1 > > Attachments: YARN-3905.001.patch, YARN-3905.002.patch > > > From the Application History URL (http://RmHostName:8188/applicationhistory), clicking on the application ID of an app that was run after the RM daemon has been restarted results in a 500 error: > {noformat} > Sorry, got error 500 > Please consult RFC 2616 for meanings of the error code. > {noformat} > The stack trace is as follows: > {code} > 2015-07-09 20:13:15,584 [2068024519@qtp-769046918-3] INFO applicationhistoryservice.FileSystemApplicationHistoryStore: Completed reading history information of all application attempts of application application_1436472584878_0001 > 2015-07-09 20:13:15,591 [2068024519@qtp-769046918-3] ERROR webapp.AppBlock: Failed to read the AM container of the application attempt appattempt_1436472584878_0001_000001. > java.lang.NullPointerException > at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.convertToContainerReport(ApplicationHistoryManagerImpl.java:206) > at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.getContainer(ApplicationHistoryManagerImpl.java:199) > at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryClientService.getContainerReport(ApplicationHistoryClientService.java:205) > at org.apache.hadoop.yarn.server.webapp.AppBlock$3.run(AppBlock.java:272) > at org.apache.hadoop.yarn.server.webapp.AppBlock$3.run(AppBlock.java:267) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1666) > at org.apache.hadoop.yarn.server.webapp.AppBlock.generateApplicationTable(AppBlock.java:266) > ... > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org