You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Virag Kothari (Commented) (JIRA)" <ji...@apache.org> on 2012/04/04 05:53:18 UTC
[jira] [Commented] (OOZIE-784) Parallellizing the tests to reduce
the total running time
[ https://issues.apache.org/jira/browse/OOZIE-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245998#comment-13245998 ]
Virag Kothari commented on OOZIE-784:
-------------------------------------
Had a discussion with Alejandro about issues that can occur while running testcases in parallel. Following is the summary
1) All tests using services set the oozie.home.dir sysprop, so running them in parallel can cause issues
2) The total number of slots in minicluster is fixed, so running testcases in parallel that submit MR jobs can get stuck
3) To avoid the problem in (2), if we have a multi-core machine, we can fork a JVM for each test case. This in turn will fork a separate minicluster. However, this can choke the RAM. So it needs to be experimented.
> Parallellizing the tests to reduce the total running time
> ----------------------------------------------------------
>
> Key: OOZIE-784
> URL: https://issues.apache.org/jira/browse/OOZIE-784
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
>
> With Junit4, maven plugin can be configured to run tests in parallel. This may reduce the time to run the testcases on the build server.
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.7.1</version>
> <configuration>
> <parallel>classes/methods</parallel>
> <threadCount>5</threadCount>
> <perCoreThreadCount>2</perCoreThreadCount>
> </configuration>
> </plugin>
> </plugins>
> </build>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira