apurtell opened a new pull request, #2460:
URL: https://github.com/apache/phoenix/pull/2460

   Phoenix's wall clock is dominated by four sibling shade executions 
(`phoenix-client-embedded`, `phoenix-client-lite`, `phoenix-server`, 
`phoenix-mapreduce-byo-shaded-hbase`). This change upgrades 
`maven-shade-plugin` to 3.6.2, which declares thread safety, so `mvn -T 1C` 
parallelizes the four shades, turns off source-jar shading by default and 
reenables it under `-Prelease`, and drops dependency-reduced POM emission from 
each shade execution since nothing consumes them.
   
   It also makes `phoenix-mapreduce-byo-shaded-hbase` release-only. The module 
is moved out of the `shade-and-assembly profile` and into `-Prelease`, and 
`phoenix-assembly` is refactored so the mapreduce dependency is only pulled in 
only under `-Prelease`. `BUILDING.md` documents the new fast paths.
   
   Verified end-to-end. 
   
   `mvn -T 1C clean package` builds 15 modules with no mapreduce jar in the 
tarball
   
   `mvn -T 1C -Prelease clean package` builds all 16 with the mapreduce uberjar 
bundled.
   
   The build time is reduced from 26:37 to 11:27 on my M4 MacBook, a 2.32x 
speedup. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to