hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei-Chiu Chuang <weic...@cloudera.com>
Subject Re: How to speed up the building process of Hadoop?
Date Fri, 30 Sep 2016 12:59:03 GMT
One suggest: add -Dmaven.javadoc.skip=true
This parameter skips building javadocs. For me this reduces overall build time to about 2

> On Sep 30, 2016, at 5:40 AM, Mohammed Q. Hussian <maastaar@gmail.com> wrote:
> Hi All. 
> I'm building Hadoop from source using the following Maven command:
> mvn --offline package -Pdist -DskipTests"
> Everything works fine but the problem is that the building process takes time. I'm planing
to modify Hadoop's source code and waiting about seven minutes to compile the changes is not
> Is there anyway to speed the process up?
> I tried some solutions that presented on the following two links and nothing seems to
> https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/ <https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/>
> http://blog.dblazejewski.com/2015/08/how-to-make-your-maven-build-fast-again/ <http://blog.dblazejewski.com/2015/08/how-to-make-your-maven-build-fast-again/>
> Regards.

View raw message