[ https://issues.apache.org/jira/browse/HBASE-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397946#comment-13397946 ]
Zhihong Ted Yu commented on HBASE-6248: --------------------------------------- {code} + } else { + return p; + } {code} The else statement is not needed. Can you tell us the result of running test suite ? Hadoop QA didn't process your patch. > 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 > Attachments: HBASE-6248-0.94.0-0.diff > > > 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