hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3702) internal server error trying access application master via proxy with filter enabled
Date Mon, 23 Jan 2012 21:49:42 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191507#comment-13191507
] 

Hudson commented on MAPREDUCE-3702:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #420 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/420/])
    MAPREDUCE-3702 and MAPREDUCE-3691 - merging r1234991 and r1234989 from trunk.

mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1234994
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-common/src/main/java/org/apache/hadoop/yarn/webapp/WebApp.java
* /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/amfilter/AmIpFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/src/test/java/org/apache/hadoop/yarn/server/webproxy/amfilter
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/src/test/java/org/apache/hadoop/yarn/server/webproxy/amfilter/TestAmFilter.java

                
> internal server error trying access application master via proxy with filter enabled
> ------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3702
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3702
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3702.patch, MAPREDUCE-3702.patch
>
>
> I had a hadoop.http.filter.initializers in place to do user authentication, but was purposely
trying to let it bypass authentication on certain pages.  One of those was the proxy and the
application master main page. When I then tried to go to the application master through the
proxy it throws an internal server error:
> Problem accessing /mapreduce. Reason:
>     INTERNAL_SERVER_ERROR
> Caused by:
> java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter.doFilter(AmIpFilter.java:100)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.apache.hadoop.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:940)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> It looks like the problem is that AmIpFilter doesn't check for null returned from httpReq.getCookies()

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

        

Mime
View raw message