[ 
https://issues.apache.org/jira/browse/HDFS-13408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445615#comment-16445615
 ] 

Xiao Liang commented on HDFS-13408:
-----------------------------------

Thank you [~giovanni.fumarola] for the suggestion, and thank you 
[~chris.douglas] for adding more problem description, it's correct and precise, 
the updated patch looks good to me. 
{quote}Would the failing tests also fail to run in parallel, even on 
non-Windows platforms?
{quote}
I don't have an environment to test running in parallel on non-Windows 
platforms, but there should be file read/write conflicts between test cases 
using the same base dir and test data file names, if running in parallel.

[~elgoiri] for the test cases, the 3 failed ones in the latest run don't seem 
to relate to this change, as the default path will be the same as before, might 
be random failure or caused by other changes?

> 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
>
>
> 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

Reply via email to