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

Jonathan Eagles commented on HADOOP-8535:
-----------------------------------------

http://jira.codehaus.org/browse/PLXCOMP-202 is the JIRA that added  the 
JavacCompiler classloader cache.

The build command I executed was

mvn clean install -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip

which was performed with an empty .m2 cache (nexus enabled) and a clean git 
repo at the top level.

Without Path
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:06.711s
[INFO] Finished at: Wed Jun 27 13:36:54 CDT 2012
[INFO] Final Memory: 334M/455M
[INFO] ------------------------------------------------------------------------


With Patch

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:15.486s
[INFO] Finished at: Wed Jun 27 13:29:18 CDT 2012
[INFO] Final Memory: 70M/272M
[INFO] ------------------------------------------------------------------------

                
> Cut hadoop build times in half (upgrade maven-compiler-plugin to 2.5.1)
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-8535
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8535
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.23.3, 2.0.1-alpha
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: HADOOP-8535.patch
>
>
> starting with 2.4.0 maven-compiler-plugin started caching the class loader 
> for the javac compiler. This patch upgrades the compiler to 2.5.1. On my box, 
> build times are reduced from 5 minutes to 2 minutes. 

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

        

Reply via email to