[ https://issues.apache.org/jira/browse/HDFS-13408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446454#comment-16446454 ]
Chris Douglas commented on HDFS-13408: -------------------------------------- bq. there should be file read/write conflicts between test cases using the same base dir and test data file names, if running in parallel. OK. Perhaps we could [use the ID from surefire|https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html] to avoid these collisions. We still need a solution either for tests run sequentially, and this is a good workaround. bq. Regarding the warning for setting both approaches, I'm fine with it and I would even vote for an exception to avoid having inconsistencies Soright. Updated patch, which also rolls back the slf4j change. > MiniDFSCluster to support being built on randomized base directory > ------------------------------------------------------------------ > > Key: HDFS-13408 > URL: https://issues.apache.org/jira/browse/HDFS-13408 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Xiao Liang > Assignee: Xiao Liang > Priority: Major > Labels: windows > Attachments: HDFS-13408.000.patch, HDFS-13408.001.patch, > HDFS-13408.002.patch, HDFS-13408.003.patch > > > Generated files of MiniDFSCluster during test are not properly cleaned in > Windows, which fails all subsequent test cases using the same default > directory (Windows does not allow other processes to delete them). By > migrating to randomized base directories, the conflict of test path of test > cases will be avoided, even if they are running at the same time. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org