Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B79F17C43 for ; Tue, 20 Oct 2015 22:21:28 +0000 (UTC) Received: (qmail 35954 invoked by uid 500); 20 Oct 2015 22:21:28 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 35846 invoked by uid 500); 20 Oct 2015 22:21:28 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 35491 invoked by uid 99); 20 Oct 2015 22:21:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2015 22:21:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BCC532C1F6B for ; Tue, 20 Oct 2015 22:21:27 +0000 (UTC) Date: Tue, 20 Oct 2015 22:21:27 +0000 (UTC) From: "Jason Lowe (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4281) 2.7 RM app page is broken 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-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965873#comment-14965873 ] Jason Lowe commented on YARN-4281: ---------------------------------- There's still extra whitespace added by this deletion (note it doesn't delete one of the lines around the block deleted, resulting in the extra whitespace): {noformat} --- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RMAppBlock.java +++ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RMAppBlock.java @@ -20,21 +20,14 @@ import static org.apache.hadoop.yarn.webapp.view.JQueryUI._INFO_WRAP; -import java.security.PrivilegedExceptionAction; -import java.util.Collection; -import java.util.Set; import org.apache.commons.lang.StringEscapeUtils; import org.apache.commons.logging.Log; {noformat} Otherwise looks good. > 2.7 RM app page is broken > ------------------------- > > Key: YARN-4281 > URL: https://issues.apache.org/jira/browse/YARN-4281 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Chang Li > Assignee: Chang Li > Priority: Blocker > Attachments: YARN-4281-branch-2.7.2.patch, YARN-4281-branch-2.7.patch, YARN-4281.2.7.modify.patch > > > 2.7 RM app page is broken by the cherry pick of YARN-3248 on 23/Sep. It broke the work around 2.7 patch of YARN-3544 to let it still use container report. Currently, our cluster's 2.7 RM app page is completely broken due to 500 error, which is caused by when user UGI is null, completed app can not retrieve its container report, and in that code path, it doesn't catch ContainerNotFoundException, but throw the exception, therefore cause the 500 error. > Running app is also broken because of the way it construct containerID by > {code} "ContainerId.newContainerId( > appAttemptReport.getApplicationAttemptId(), 1)" > {code}, > which will not include epoch number in ID, so it will also get ContainerNotFoundException and throw 500 error. > Propose to use the branch-2 version of YARN-3544, instead of the work around 2.7 patch because branch 2 patch on 2.7 is no longer blocked. -- This message was sent by Atlassian JIRA (v6.3.4#6332)