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 "David Capwell (Created) (JIRA)" <ji...@apache.org> on 2012/01/18 19:04:40 UTC

[jira] [Created] (MAPREDUCE-3687) If AM dies before it returns new tracking URL, proxy redirects to http://N/A/ and doesn't return error code

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


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

        

[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

Posted by "Hudson (Commented) (JIRA)" <ji...@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

        

[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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219284#comment-13219284 ] 

Hudson commented on MAPREDUCE-3687:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #1805 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1805/])
    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

        

[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

Posted by "Robert Joseph Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219264#comment-13219264 ] 

Robert Joseph Evans commented on MAPREDUCE-3687:
------------------------------------------------

The patch looks OK, and I am OK with having no tests, as that part of the proxy has no unit tests.
                
> 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
>         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

        

[jira] [Assigned] (MAPREDUCE-3687) If AM dies before it returns new tracking URL, proxy redirects to http://N/A/ and doesn't return error code

Posted by "Ravi Prakash (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash reassigned MAPREDUCE-3687:
---------------------------------------

    Assignee: Ravi Prakash
    
> 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
>
> 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

        

[jira] [Updated] (MAPREDUCE-3687) If AM dies before it returns new tracking URL, proxy redirects to http://N/A/ and doesn't return error code

Posted by "Ravi Prakash (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash updated MAPREDUCE-3687:
------------------------------------

    Status: Patch Available  (was: Open)
    
> 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
>         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

        

[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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219279#comment-13219279 ] 

Hudson commented on MAPREDUCE-3687:
-----------------------------------

Integrated in Hadoop-Common-0.23-Commit #615 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/615/])
    svn merge -c 1295147 trunk to branch 23 FIXES 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 1295149)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1295149
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/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

        

[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

Posted by "Ravi Prakash (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218385#comment-13218385 ] 

Ravi Prakash commented on MAPREDUCE-3687:
-----------------------------------------

Can we all agree on the right status code? Would a 404 be the right response?

                
> 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
>
> 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

        

[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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219282#comment-13219282 ] 

Hudson commented on MAPREDUCE-3687:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #603 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/603/])
    svn merge -c 1295147 trunk to branch 23 FIXES 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 1295149)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1295149
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/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

        

[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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219307#comment-13219307 ] 

Hudson commented on MAPREDUCE-3687:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1813 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1813/])
    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 = ABORTED
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

        

[jira] [Updated] (MAPREDUCE-3687) If AM dies before it returns new tracking URL, proxy redirects to http://N/A/ and doesn't return error code

Posted by "Robert Joseph Evans (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated MAPREDUCE-3687:
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.23.2
           Status: Resolved  (was: Patch Available)

Thanks Ravi, I just checked this into trunk, branch-0.23 and branch-0.23.2
                
> 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

        

[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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220040#comment-13220040 ] 

Hudson commented on MAPREDUCE-3687:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #1006 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1006/])
    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

        

[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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219306#comment-13219306 ] 

Hudson commented on MAPREDUCE-3687:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #615 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/615/])
    svn merge -c 1295147 trunk to branch 23 FIXES 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 1295149)

     Result = ABORTED
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1295149
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/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

        

[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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219278#comment-13219278 ] 

Hudson commented on MAPREDUCE-3687:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1879 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1879/])
    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

        

[jira] [Updated] (MAPREDUCE-3687) If AM dies before it returns new tracking URL, proxy redirects to http://N/A/ and doesn't return error code

Posted by "Ravi Prakash (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash updated MAPREDUCE-3687:
------------------------------------

    Attachment: MAPREDUCE-3687.patch

Small patch to fix the issue
                
> 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
>         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