MC-JY opened a new pull request, #1438:
URL: https://github.com/apache/phoenix/pull/1438

   Hi, I'm now using **phoenix**. I found that the build time of the project is 
not very fast when I used  `mvn -T 1C install -DskipTests` command to build the 
project during Github Actions. So I try to speed up the build performance of 
the project. The goal here is to clean up dependencies between maven modules in 
the project in order to improve the build performance.
   
   Thread usage before cleaning up module dependencies was this:
   
![image](https://user-images.githubusercontent.com/92497220/167767005-675f15ce-39d9-4ea7-955c-ee438a207a17.png)
   
   Using `mvn dependency:analyze` command I managed to have an overview of the 
unused dependencies of every module. I focused only on the dependencies between 
modules. The following dependencies can be cleaned up:
   
   <pre><code>
   
org.apache.phoenix:phoenix-client-embedded-hbase-2.4(/phoenix-client-parent/phoenix-client-embedded)
 -> org.apache.phoenix:phoenix-core(phoenix-core)
   
org.apache.phoenix:phoenix-client-embedded-hbase-2.4(phoenix-client-parent/phoenix-client-embedded)
 -> org.apache.phoenix:phoenix-hbase-compat-2.4.1(phoenix-hbase-compat-2.4.1)
   </code></pre>
   
   After clean up, the build time has been reduced by **3min** when I use 
parallel build during Github Actions.
   Thread usage after cleaning up module dependencies was this:
   
![image](https://user-images.githubusercontent.com/92497220/167767032-31737b7a-4c15-4d6f-be73-8851e48323ce.png)
   
   
   Could you help me review this issue? I can submit a PR to improve build 
performance of the project.
   
   Thank you very much for your attention.
   Best regards.


-- 
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