You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "John Zhuge (JIRA)" <ji...@apache.org> on 2016/05/06 17:02:13 UTC

[jira] [Resolved] (YARN-5054) Remove redundent TestMiniDFSCluster.testDualClusters

     [ https://issues.apache.org/jira/browse/YARN-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Zhuge resolved YARN-5054.
------------------------------
    Resolution: Invalid

Move to HDFS project.

> Remove redundent TestMiniDFSCluster.testDualClusters
> ----------------------------------------------------
>
>                 Key: YARN-5054
>                 URL: https://issues.apache.org/jira/browse/YARN-5054
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: test
>    Affects Versions: 2.6.0
>            Reporter: John Zhuge
>            Priority: Trivial
>              Labels: newbie
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org