hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10375) Remove redundant TestMiniDFSCluster.testDualClusters
Date Wed, 08 Jun 2016 20:00:23 GMT

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

Andrew Wang updated HDFS-10375:
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.8.0
           Status: Resolved  (was: Patch Available)

Backported through 2.8. Thanks Jiayi for the patch, and John for originally reporting this
issue and reviewing!

> 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


Mime
View raw message