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

Takashi Ohnishi commented on HDFS-8508:
---------------------------------------

Hi.

I have created a patch for this.

The other tests in org.apache.hadoop.hdfs.qjournal.server do not have the same 
issues because they seem to have already used random port number. 

> TestJournalNode fails occasionally with bind exception
> ------------------------------------------------------
>
>                 Key: HDFS-8508
>                 URL: https://issues.apache.org/jira/browse/HDFS-8508
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.7.0
>            Reporter: Arpit Agarwal
>         Attachments: HDFS-8508.1.patch
>
>
> TestJournalNode uses the default port for {{dfs.journalnode.http-address}} so 
> it fails occasionally when running with {{-Pparallel-tests}}.
> The same issue likely exists with other tests. Tests should generate a random 
> port number with retry to reduce the chances of a collision.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to