Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 1.4.12, 2.2.3
-
None
Description
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,
List<Ports> ports = getRandomAvailablePorts(); startMiniCluster(conf, ports);
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.
Attachments
Issue Links
- blocks
-
HBASE-23305 Master based registry implementation
- Resolved
- is related to
-
HBASE-18095 Provide an option for clients to find the server hosting META that does not involve the ZooKeeper client
- Resolved
- links to