You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Thomas Graves (JIRA)" <ji...@apache.org> on 2011/09/21 00:10:09 UTC

[jira] [Updated] (HADOOP-7662) logs servlet should use pathspec of /*

     [ https://issues.apache.org/jira/browse/HADOOP-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Graves updated HADOOP-7662:
----------------------------------

    Attachment: HADOOP-7662.patch

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira