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

Regression: HttpServer#getWebAppsPath used to be protected so subclasses could supply alternate webapps path but it was made private by HADOOP-6461

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • None
    • None
    • Reviewed

    Description

      It USED to be protected rather than private but its access was changed by HADOOP-6461. It did the following:

      -  protected String getWebAppsPath() throws IOException {
      -    URL url = getClass().getClassLoader().getResource("webapps");
      +  private String getWebAppsPath(String appName) throws FileNotFoundException {
      +    URL url = getClass().getClassLoader().getResource("webapps/" + appName);
      ...
      

      HBase subclasses HttpServer providing its UI. This change makes it so we can no longer do so.

      This change made it into 0.21. I'd like to get a fix committed to 0.22 as well as TRUNK.

      Attachments

        1. 7351.txt
          0.8 kB
          Michael Stack

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment