[ 
https://issues.apache.org/jira/browse/HDDS-6727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534671#comment-17534671
 ] 

Ritesh H Shukla commented on HDDS-6727:
---------------------------------------

Can you post the PR? We can inspect the changes and comment on it there.

> Improve build performance of modules
> ------------------------------------
>
>                 Key: HDDS-6727
>                 URL: https://issues.apache.org/jira/browse/HDDS-6727
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 1.3.0
>            Reporter: Bing-ok
>            Priority: Minor
>         Attachments: image-2022-05-11-10-57-48-990.png, 
> image-2022-05-11-10-58-07-184.png
>
>
> Hi, I'm now using {*}ozone{*}. 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-2022-05-11-10-57-48-990.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:
> {noformat}
> org.apache.ozone:ozone-dist(hadoop-ozone/dist) -> 
> org.apache.ozone:ozone-filesystem-hadoop2 (hadoop-ozone/ozonefs-hadoop2)
> org.apache.ozone:ozone-dist(hadoop-ozone/dist) -> 
> org.apache.ozone:ozone-filesystem-hadoop3(hadoop-ozone/ozonefs-hadoop3){noformat}
> After clean up, the build time has been reduced by *1min20s* when I use 
> parallel build during Github Actions.
> Thread usage after cleaning up module dependencies was this:
> !image-2022-05-11-10-58-07-184.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 message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to