[ 
https://issues.apache.org/jira/browse/HBASE-20224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442972#comment-16442972
 ] 

Josh Elser commented on HBASE-20224:
------------------------------------

{quote}Thats a crappy runtime exception. Its failing because address in use? 
Port clash?
{quote}
Yep, trying to bring up another Master on 16000 and failing cuz that port is 
already taken.
{quote}My understanding is that the patch(es) here do this. They turn on random 
ports for test context by setting random ports config to true in an 
hbase-site.xml that is read in test context (In hbase, tests get a special 
hbase-site that has configs that make sense for test context; e.g. disable UI 
by default). Otherwise, ports are not random so you can find your UI in the 
expected place when you run standalone.
{quote}
Ok, that's what I took from it too.

The solution that I think would be better would be to find a way to disable the 
random ports when you run standalone (and default to the random ports). I would 
say a minicluster using random ports by default is the "common case" and the 
standalone instance is the "exception". I'm not sure if there's a good way we 
can encapsulate this (i.e. can we know that we're in the context of a 
standalone instance and unset the random ports?)

Thanks for engaging :)

> Web UI is broken in standalone mode
> -----------------------------------
>
>                 Key: HBASE-20224
>                 URL: https://issues.apache.org/jira/browse/HBASE-20224
>             Project: HBase
>          Issue Type: Bug
>          Components: UI, Usability
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Umesh Agashe
>            Assignee: Umesh Agashe
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: 
> 0001-HBASE-20224-Web-UI-is-broken-in-standalone-mode-ADDE.ADDENDUM.patch, 
> 20224-addendum.3.txt, 20224.addendum.4, 20224.addendum.5, 20224.addendum.6, 
> hbase-20224.master.001.patch, hbase-20224.master.002.patch, 
> hbase-20224.master.003.patch, hbase-20224.master.addendum.patch
>
>
> Web UI doesn't show up in standalone mode on default port. This can be seen 
> on master and branch-2.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to