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


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

        

Reply via email to