Dave Revell created HBASE-6248:
----------------------------------

             Summary: Jetty init may fail if directory name contains "master"
                 Key: HBASE-6248
                 URL: https://issues.apache.org/jira/browse/HBASE-6248
             Project: HBase
          Issue Type: Bug
          Components: master
    Affects Versions: 0.94.0
            Reporter: Dave Revell
            Assignee: Dave Revell
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to