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

Allen Wittenauer commented on HADOOP-14696:
-------------------------------------------

BTW, just to compare:

UNIX:

{code}
main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (create-parallel-tests-dirs) @ 
hadoop-common ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/data/1
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/data/2
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/data/3
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/data/4
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test-dir/1
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test-dir/2
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test-dir/3
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test-dir/4
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/1
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/2
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/3
    [mkdir] Created dir: 
/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/4
[INFO] Executed tasks
{code}

Windows:

{code}
[INFO] --- maven-antrun-plugin:1.7:run (create-parallel-tests-dirs) @ 
hadoop-common ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test\data\1
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test\data\2
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test\data\3
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test\data\4
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test-dir\1
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test-dir\2
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test-dir\3
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test-dir\4
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test\1
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test\2
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test\3
    [mkdir] Created dir: 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\test\4
[INFO] Executed tasks
[INFO] 
{code}

I think that's the most amusing part.  Ant re-converts it back to a Windows 
path. Whatever works I guess.


> parallel tests don't work for Windows
> -------------------------------------
>
>                 Key: HADOOP-14696
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14696
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0-beta1
>         Environment: Windows
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>            Priority: Minor
>         Attachments: HADOOP-14696.00.patch, HADOOP-14696.01.patch
>
>
> If hadoop-common-project/hadoop-common is run with the -Pparallel-tests flag, 
> it fails in create-parallel-tests-dirs from the pom.xml
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-antrun-plugin:1.7:run 
> (create-parallel-tests-dirs) on project hadoop-common: An Ant BuildException 
> has occured: Directory 
> F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\jenkinsjenkins-slaveworkspacehadoop-trunk-winshadoop-common-projecthadoop-common
>     arget\test\data\1 creation was not successful for an unknown reason
> [ERROR] around Ant part ...<script language="javascript">var baseDirs = [... 
> @ 4:33 in 
> F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\antrun\build-main.xml
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to