LuciferYang opened a new pull request, #36721:
URL: https://github.com/apache/spark/pull/36721

   ### What changes were proposed in this pull request?
   [HADOOP-18088 Replace log4j 1.x with 
reload4j](https://issues.apache.org/jira/browse/HADOOP-18088) , this pr change 
to exclude `slf4j-reload4j` instead of `slf4j-log4j12` for `hadoop-minikdc` to 
clean up waring message about `Class path contains multiple SLF4J bindings`.
   
   
   ### Why are the changes needed?
   Cleanup `Class path contains multiple SLF4J bindings` waring when run UTs.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   
   - Pass GA
   - Manual test
   
   run `mvn clean test -pl core`
   
   **Before** 
   
   ```
   [INFO] Running test.org.apache.spark.Java8RDDAPISuite
   SLF4J: Class path contains multiple SLF4J bindings.
   SLF4J: Found binding in 
[jar:file:/Users/xxx/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.2/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: Found binding in 
[jar:file:/Users/xxx/.m2/repository/org/slf4j/slf4j-reload4j/1.7.36/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   SLF4J: Actual binding is of type 
[org.apache.logging.slf4j.Log4jLoggerFactory]
   ```
   
   **After**
   
   no above warings


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


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

Reply via email to