That's really works fine. Thanks a lot :-). Anybody managed to use multiple cores in the process? It always fails with the following error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (package-mapreduce) on project hadoop-mapreduce: Failed to create assembly: Artifact: org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.7.2 (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated. -> [Help 1] On Fri, Sep 30, 2016 at 3:59 PM, Wei-Chiu Chuang <[email protected]> wrote: > One suggest: add -Dmaven.javadoc.skip=true > This parameter skips building javadocs. For me this reduces overall build > time to about 2 minutes. > > > On Sep 30, 2016, at 5:40 AM, Mohammed Q. Hussian <[email protected]> > 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 suitable. > > Is there anyway to speed the process up? > > I tried some solutions that presented on the following two links and > nothing seems to work: > > 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/ > > Regards. > > >
