hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-23259) Ability to run mini cluster using pre-determined available random ports
Date Thu, 21 Nov 2019 17:52:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-23259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Nick Dimiduk updated HBASE-23259:
    Fix Version/s:     (was: 1.5.1)

> Ability to run mini cluster using pre-determined available random ports
> -----------------------------------------------------------------------
>                 Key: HBASE-23259
>                 URL: https://issues.apache.org/jira/browse/HBASE-23259
>             Project: HBase
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0, 1.4.12, 2.2.3
>            Reporter: Bharath Vissapragada
>            Assignee: Bharath Vissapragada
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0, 1.6.0
> As noted in the code reviews for HBASE-18095, we need the ability to run the mini-cluster
using a pre-determined set of random (and available) port numbers. When I say pre-determined,
I mean the test knows these ports even before starting the mini cluster. 
> In short, the workflow is something like,
> {noformat}
> List<Ports> ports = getRandomAvailablePorts();
> startMiniCluster(conf, ports);
> {noformat}
> The reason we need this is that certain configs introduced in HBASE-18095 depend on the
ports on which the master is expected to serve the RPCs. While that is known for regular deployments
(like 16000 for master etc), it is totally random in the mini cluster tests. So we need to
know them before hand for templating out the configs. 

This message was sent by Atlassian Jira

View raw message