hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-10261) TestBookKeeperHACheckpoints doesn't handle ephemeral HTTP ports
Date Tue, 05 Apr 2016 20:00:27 GMT

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

Kihwal Lee edited comment on HDFS-10261 at 4/5/16 7:59 PM:
-----------------------------------------------------------

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


was (Author: kihwal):
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, HDFS-10261.002.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)

Mime
View raw message