Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7662

logs servlet should use pathspec of /*

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HADOOP-7662.patch
          0.8 kB
          Thomas Graves

        Activity

          People

            tgraves Thomas Graves
            tgraves Thomas Graves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: