You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/03/11 07:57:44 UTC

[GitHub] [spark] eejbyfeldt edited a comment on pull request #35811: [SPARK-38516][BUILD] Add log4j-core, log4j-api and log4j-slf4j-impl to classpath if active hadoop-provided

eejbyfeldt edited a comment on pull request #35811:
URL: https://github.com/apache/spark/pull/35811#issuecomment-1064855439


   I built this branch with ` ./dev/make-distribution.sh --tgz --name hadoop-provided-test -Phadoop-provided -Pyarn` and then run `org.apache.spark.examples.SparkPi` example with hadoop 3.3.2. That example job runs fine but I do get slf4j warnigns regarding multiple bindings:
   ```
   SLF4J: Class path contains multiple SLF4J bindings.
   SLF4J: Found binding in [jar:file:../spark-3.3.0-SNAPSHOT-bin-hadoop-provided-test/jars/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: Found binding in [jar:file:../hadoop-3.3.2/share/hadoop/common/lib/slf4j-log4j12-1.7.30.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]
   ```


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org