hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-14696) parallel tests don't work for Windows
Date Fri, 04 Aug 2017 22:29:00 GMT

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

Allen Wittenauer edited comment on HADOOP-14696 at 8/4/17 10:28 PM:
--------------------------------------------------------------------

bq. you could probably test that yourself just by running mvn verify in the directory.

It works for me.
{code}
hadoop-aws aw$  mvn verify -Pparallel-tests
....
main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (create-parallel-tests-dirs) @ hadoop-aws ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test-dir/1
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test-dir/2
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test-dir/3
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test-dir/4
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test/1
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test/2
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test/3
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test/4
[INFO] Executed tasks
...

Tests run: 77, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.723 s
[INFO] Finished at: 2017-08-04T15:26:12-07:00
[INFO] Final Memory: 57M/764M
[INFO] ------------------------------------------------------------------------
{code}


was (Author: aw):
bq. you could probably test that yourself just by running mvn verify in the directory.

It works for me.

hadoop-aws aw$  mvn verify -Pparallel-tests
....
main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (create-parallel-tests-dirs) @ hadoop-aws ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test-dir/1
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test-dir/2
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test-dir/3
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test-dir/4
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test/1
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test/2
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test/3
    [mkdir] Created dir: /Users/aw/shared-vmware/hadoop/hadoop-tools/hadoop-aws/target/test/4
[INFO] Executed tasks
...
{code}
Tests run: 77, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.723 s
[INFO] Finished at: 2017-08-04T15:26:12-07:00
[INFO] Final Memory: 57M/764M
[INFO] ------------------------------------------------------------------------
{code}

> 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-002.patch, 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message