hadoop-common-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] (HADOOP-7662) logs servlet should use pathspec of /*
Date Thu, 29 Sep 2011 12:50:46 GMT

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

Hudson commented on HADOOP-7662:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #815 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/815/])
    HADOOP-7662. Fixed logs servlet to use the pathspec '/*' instead of '/' for correct filtering.
Contributed by Thomas Graves.

vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176849
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer.java

                
> logs servlet should use pathspec of /*
> --------------------------------------
>
>                 Key: HADOOP-7662
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7662
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7662.patch
>
>
> The logs servlet in HttpServer should use a pathspec of /* instead of /.
>       logContext.addServlet(AdminAuthorizedServlet.class, "/*");
> In making the changes for the yarn webapps (MAPREDUCE-2999), I registered a webapp to
use "/".  This blocked the /logs servlet from working.  because both had a pathSpec of "/"
and the guice filter seemed to take precendence.  Changing the pathspec of the logs servlet
to /* fixes the issue.

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