Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 2346E9731 for ; Wed, 14 Mar 2012 20:13:01 +0000 (UTC) Received: (qmail 70472 invoked by uid 500); 14 Mar 2012 20:13:00 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 70400 invoked by uid 500); 14 Mar 2012 20:13:00 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 70238 invoked by uid 99); 14 Mar 2012 20:13:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 20:13:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 20:12:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9E833205CF for ; Wed, 14 Mar 2012 20:12:37 +0000 (UTC) Date: Wed, 14 Mar 2012 20:12:37 +0000 (UTC) From: "Jason Lowe (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <218453067.15200.1331755957650.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <285121749.9341.1331671360449.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-4005) AM container logs URL is broken for completed apps when log aggregation is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229570#comment-13229570 ] Jason Lowe commented on MAPREDUCE-4005: --------------------------------------- Test failure appears to be unrelated. I am unable to reproduce the test failure even after merging up to latest on trunk. > AM container logs URL is broken for completed apps when log aggregation is enabled > ---------------------------------------------------------------------------------- > > Key: MAPREDUCE-4005 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4005 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.2 > Reporter: Jason Lowe > Assignee: Jason Lowe > Attachments: MAPREDUCE-4005.patch > > > With log aggregation enabled and yarn.log.server.url pointing to the job history server, the AM container logs URL for a completed application fails with the error "Cannot get container logs without an app owner". Looking at the code in the nodemanager to handle redirects to the log server, it appears the AM container log URL is missing a user name for the job. I verified that tacking on the app's user name after the AM container log URL reported by the RM works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira