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 Bug
    • Status: Resolved
    • Priority: Major 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.

      1. 7351.txt
        0.8 kB
        stack

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development