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 271589C7F for ; Thu, 1 Mar 2012 12:42:23 +0000 (UTC) Received: (qmail 2650 invoked by uid 500); 1 Mar 2012 12:42:23 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 2609 invoked by uid 500); 1 Mar 2012 12:42:22 -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 2601 invoked by uid 99); 1 Mar 2012 12:42:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 12:42:22 +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; Thu, 01 Mar 2012 12:42:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BE671C8A66 for ; Thu, 1 Mar 2012 12:42:01 +0000 (UTC) Date: Thu, 1 Mar 2012 12:42:01 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <522951852.7035.1330605721781.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1928565903.53281.1326909880111.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-3687) If AM dies before it returns new tracking URL, proxy redirects to http://N/A/ and doesn't return error code 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-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219992#comment-13219992 ] Hudson commented on MAPREDUCE-3687: ----------------------------------- Integrated in Hadoop-Hdfs-trunk #971 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/971/]) MAPREDUCE-3687. If AM dies before it returns new tracking URL, proxy redirects to http://N/A/ and doesn't return error code (Ravi Prakash via bobby) (Revision 1295147) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1295147 Files : * /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/src/main/java/org/apache/hadoop/yarn/server/webproxy/WebAppProxyServlet.java > If AM dies before it returns new tracking URL, proxy redirects to http://N/A/ and doesn't return error code > ----------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-3687 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3687 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.1 > Reporter: David Capwell > Assignee: Ravi Prakash > Fix For: 0.23.2 > > Attachments: MAPREDUCE-3687.patch > > > I tried to turn on Uber AM and put 9223372036854775807l (last char is an L) for maxbytes. This caused a > NumberFormatException in the AM and killed it. > When I try to go to the RM proxy, it redirects me to http://N/A/ > curl -i http://resource.manager.example.com:$port/proxy/application_1326504761991_0001/ > HTTP/1.1 302 Found > Content-Type: text/plain; charset=utf-8 > Location: http://N/A/ > Content-Length: 0 > Server: Jetty(6.1.26) > Since the AM has no tracker URL, I would expect the return code to be 400~ or 500~ and return an error. -- 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