[
https://issues.apache.org/jira/browse/HDFS-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006698#comment-14006698
]
Zesheng Wu commented on HDFS-6443:
----------------------------------
Thanks [~arpitagarwal], randomized port selection with retrying is really a
better solution, I will generate a new patch soon.
> Fix MiniQJMHACluster related tests failure
> ------------------------------------------
>
> Key: HDFS-6443
> URL: https://issues.apache.org/jira/browse/HDFS-6443
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 2.4.0
> Reporter: Zesheng Wu
> Priority: Minor
> Attachments: HDFS-6443.patch
>
>
> MiniQJMHACluster uses fixed ports(10000/10001/10002/10003) to set up a
> cluster for testing, this will result in port conflicts when multiple tests
> which rely on MiniQJMHACluster running concurrently. The can easily reproduce
> when run 'mvn test -Pparallel-tests' under hadoop-hdfs directory.
--
This message was sent by Atlassian JIRA
(v6.2#6252)