You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/03/01 13:42:01 UTC
[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
[ 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