For those of you working on both master and branch-3, you may have noticed
that it takes a crazy long time to complete a full build on branch-3. In my
environment, running this...

mvn -B -T 8 -Pitests clean install -DskipTests

...it completes in ~8 minutes on master, but ~40 minutes on branch-3. The
long haul is modules like standalone-metastore that use
maven-assembly-plugin to build the artifact. At least part of the root
cause is that branch-3 is using an older version of maven-assembly-plugin
with sub-optimal file system access patterns.

I have a work in progress patch here:

https://github.com/apache/hive/pull/3924

This is just a draft, not ready for review, but so far I've been able to
cut my branch-3 build times back down to ~13 minutes. I might not be able
to polish this off and request review until late next week, so I'm sharing
it early in case it makes life easier for anyone else on branch-3.

Chris Nauroth

Reply via email to