You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/06/02 09:11:00 UTC

[jira] [Resolved] (HBASE-25910) Fix TestClusterPortAssignment.testClusterPortAssignment test and re-enable it.

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

Viraj Jasani resolved HBASE-25910.
----------------------------------
    Fix Version/s: 1.7.1
       Resolution: Fixed

Backported to branch-1

> Fix TestClusterPortAssignment.testClusterPortAssignment test and re-enable it.
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-25910
>                 URL: https://issues.apache.org/jira/browse/HBASE-25910
>             Project: HBase
>          Issue Type: Test
>          Components: flakies, test
>            Reporter: Victor Li
>            Assignee: Victor Li
>            Priority: Minor
>             Fix For: 3.0.0-alpha-1, 2.5.0, 2.3.6, 2.4.4, 1.7.1
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This test assigned with random unused ports for master and region server ports and start a cluster, however it can fail as the previously unsigned port might be taken by other application at the moment when cluster start to bind the ports.
> Server has an option to allow auto assign an port if the port is unavailable. This option needs to be disabled in this test in order to test explicit port assignment.
> The exception for the failure of starting server needs to change to IOException and there is a need to set a retry count instead of infinite retry.
> Related ticket: https://issues.apache.org/jira/browse/HBASE-24342



--
This message was sent by Atlassian Jira
(v8.3.4#803005)