hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8535) Cut hadoop build times in half (upgrade maven-compiler-plugin to 2.5.1)
Date Wed, 27 Jun 2012 18:55:45 GMT

    [ 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

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

Without Path
[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] ------------------------------------------------------------------------
[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


View raw message