You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2016/08/29 23:28:20 UTC

[jira] [Commented] (HDFS-10375) Remove redundant TestMiniDFSCluster.testDualClusters

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

Andrew Wang commented on HDFS-10375:
------------------------------------

For future git log greppers, I forgot to include the JIRA #. My bad.

> Remove redundant TestMiniDFSCluster.testDualClusters
> ----------------------------------------------------
>
>                 Key: HDFS-10375
>                 URL: https://issues.apache.org/jira/browse/HDFS-10375
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 2.6.0
>            Reporter: John Zhuge
>            Assignee: Jiayi Zhou
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.8.0
>
>         Attachments: HDFS-10375.002.patch, HDFS-10375.003.patch, HDFS-10375.004.patch
>
>
> Unit test {{TestMiniDFSCluster.testDualClusters}} is redundant because {{testClusterWithoutSystemProperties}} already proves {{cluster.getDataDirectory() == getProp(HDFS_MINIDFS_BASEDIR) + "/data"}}. This unit test sets HDFS_MINIDFS_BASEDIR to 2 different values and brings up 2 clusters, of course they will have different data directory.
> Remove it to save the time to bring up 2 mini clusters.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org