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

Kihwal Lee commented on HDFS-10261:
-----------------------------------

Did you meant to do this?
{code:java}
            .addNN(new MiniDFSNNTopology.NNConf("nn1").setHttpPort(basePort))
            .addNN(new 
MiniDFSNNTopology.NNConf("nn2").setHttpPort(basePort+1)));
{code}

> TestBookKeeperHACheckpoints doesn't handle ephemeral HTTP ports
> ---------------------------------------------------------------
>
>                 Key: HDFS-10261
>                 URL: https://issues.apache.org/jira/browse/HDFS-10261
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>         Attachments: HDFS-10261.001.patch
>
>
> The MiniDFSCluster HTTP ports are hard-coded to 10001 and 10002. This makes 
> it impossible to run these tests simultaneously and also allows for failures 
> if those ports are in use. 



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

Reply via email to