hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13251) Avoid using hard coded datanode data dirs in unit tests
Date Fri, 09 Mar 2018 02:20:00 GMT
Xiaoyu Yao created HDFS-13251:

             Summary: Avoid using hard coded datanode data dirs in unit tests
                 Key: HDFS-13251
                 URL: https://issues.apache.org/jira/browse/HDFS-13251
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
            Reporter: Xiaoyu Yao
            Assignee: Ajay Kumar

There are a few unit tests that rely on hard-coded MiniDFSCluster data dir names.

 * TestDataNodeVolumeFailureToleration
 * TestDataNodeVolumeFailureReporting
 * TestDiskBalancerCommand
 * TestBlockStatsMXBean
 * TestDataNodeVolumeMetrics
 * TestDFSAdmin
 * TestDataNodeHotSwapVolumes
 * TestDataNodeVolumeFailure

This ticket is opened to use

{code} MiniDFSCluster#getInstanceStorageDir() \{code} instead of 
new File(cluster.getDataDirectory(), "data1");

This message was sent by Atlassian JIRA

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

View raw message