Skip to content

HDDS-8357. Exclude spring-jcl to avoid dependency conflict#4544

Merged
adoroszlai merged 2 commits into
apache:masterfrom
okumin:HDDS-8357-recon-logging
Apr 13, 2023
Merged

HDDS-8357. Exclude spring-jcl to avoid dependency conflict#4544
adoroszlai merged 2 commits into
apache:masterfrom
okumin:HDDS-8357-recon-logging

Conversation

@okumin

@okumin okumin commented Apr 6, 2023

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Exclude spring-jcl so as to suppress the following log.

ozone-recon-0: 2023-04-02 14:47:27,640 [main] WARN http.HttpRequestLog: Jetty request log can only be enabled using Log4j 

This issue happens because spring-jcl introduces another implementation of LogFactory and the implementation of spring-jcl can be loaded.
This PR takes the approach to exclude spring-jcl following the instruction.

There would be other approaches.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-8357

How was this patch tested?

I verified that the WARN log was gone.

@smengcl smengcl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 as long as it won't break other Recon functionality. cc @devmadhuu

Comment thread hadoop-ozone/recon/pom.xml
@adoroszlai adoroszlai merged commit 67f46e0 into apache:master Apr 13, 2023
@adoroszlai

Copy link
Copy Markdown
Contributor

Thanks @okumin for the patch, @devmadhuu, @smengcl for the review.

@okumin okumin deleted the HDDS-8357-recon-logging branch May 13, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants