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

Umesh Agashe edited comment on HBASE-20224 at 3/21/18 8:15 PM:
---------------------------------------------------------------

Looks like the Constructor in LocalHBaseCluster sets MASTER_INFO_PORT and 
REGIONSERVER_INFO_PORT to 0 causing random assignment of ports not only in test 
context but also in standalone mode. The patch modifies the default value for 
ASSIGN_RANDOM_PORTS to false. This works in standalone mode. In test context, 
file hbase-server/src/test/resources/hbase-site.xml is modified with 
ASSIGN_RANDOM_PORTS set to true. This can be followed in all tests which needs 
random port assignments/ multiple concurrent instances or individual tests can 
set ASSIGN_RANDOM_PORTS to true as required.


was (Author: uagashe):
Looks like the Constructor in LocalHBaseCluster sets MASTER_INFO_PORT and 
REGIONSERVER_INFO_PORT to 0 causing random assignment of ports not only in test 
context but also in standalone mode. The patch modify the default value for 
ASSIGN_RANDOM_PORTS to false. This works in standalone mode. In test context, 
file hbase-server/src/test/resources/hbase-site.xml is modified with 
ASSIGN_RANDOM_PORTS set to true. This can be followed in all tests which needs 
random port assignments/ multiple concurrent instances or individual tests can 
set ASSIGN_RANDOM_PORTS to true as required.

> 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: hbase-20224.master.001.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