Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6248

Jetty init may fail if directory name contains "master"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.0
    • 0.94.1, 0.95.0
    • master
    • None
    • Reviewed

    Description

      InfoServer.getWebAppsPath() unsafely assumes that any instance of the string "master" in the full path to hbase-webapps can be truncated. This breaks in the case where hbase is installed in a directory such as "/my/hbasemaster/".

      The result is that Jetty initialization will fail since the master determines an incorrect path to hbase-webapps. The master still runs but the web UI returns 503.

      I have a patch for this problem that I'll upload soon.

      Attachments

        1. HBASE-6248-0.94.0-0.diff
          0.7 kB
          Dave Revell
        2. HBASE-6248-0.94.0-1.diff
          0.7 kB
          Dave Revell

        Activity

          People

            dave_revell Dave Revell
            dave_revell Dave Revell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: