Abhishek Chennaka has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24390 )

Change subject: [Java] Upgrade SLF4J to 2.0.17 and migrate to log4j-slf4j2-impl
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/24390/1//COMMIT_MSG
Commit Message:

PS1:
> nit: please follow documented generic git commit guidelines and good practi
Done


http://gerrit.cloudera.org:8080/#/c/24390/1//COMMIT_MSG@13
PS1, Line 13:   all submodules (kudu-client, kudu-spark, kudu-subprocess,
            :   kudu-test-utils, etc.).
> I'm curious: did this pop up only after upgrading SLF4J to 2.0.17 or the pr
So the issue was - LogCaptor brings in log4j-to-slf4j through transitive 
dependencies and having log4j-to-slf4j2 in the classpath caused the below 
exception during test runs:

Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j2-impl cannot 
be present with log4j-to-slf4j

We could still have just the log4j-to-slf4j but it seems redundant.
There was no issue once this was removed in the tests. I verified, just in 
case, the published kudu-backup.jar and the generated pom to be unchanged with 
and without this line present.



--
To view, visit http://gerrit.cloudera.org:8080/24390
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id4dedfa6e4a7a8b1c2c21ebfff91b3513ddfb1f2
Gerrit-Change-Number: 24390
Gerrit-PatchSet: 2
Gerrit-Owner: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>
Gerrit-Comment-Date: Wed, 03 Jun 2026 21:11:23 +0000
Gerrit-HasComments: Yes

Reply via email to