[ https://issues.apache.org/jira/browse/HDFS-7561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256381#comment-14256381 ]
Akira AJISAKA commented on HDFS-7561: ------------------------------------- Hi [~shv], how about the below change? {code} - System.getProperty("build.test.dir"), "fetched-image-dir"); + System.getProperty("test.build.dir"), "target/fetched-image-dir"); {code} > TestFetchImage should write fetched-image-dir under target. > ----------------------------------------------------------- > > Key: HDFS-7561 > URL: https://issues.apache.org/jira/browse/HDFS-7561 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.6.0 > Reporter: Konstantin Shvachko > Attachments: HDFS-7561-001.txt > > > {{TestFetchImage}} creates directory {{fetched-image-dir}} under hadoop-hdfs, > which is then never cleaned up. The problem is that it uses "build.test.dir" > property, which seems to be invalid. Probably should use > {{MiniDFSCluster.getBaseDirectory()}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)