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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

            • Assignee:
              stack stack
              Reporter:
              stack stack
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: