[
https://issues.apache.org/jira/browse/SPARK-17723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15532675#comment-15532675
]
Sean Owen commented on SPARK-17723:
-----------------------------------
I don't think that's really a problem. It's a message from Hadoop's metrics
library which I guess expected some particular config. Sure if there's an easy
fix to copy in its config, that's a win.
> "log4j:WARN No appenders could be found for logger" for spark-shell
> --proxy-user user
> -------------------------------------------------------------------------------------
>
> Key: SPARK-17723
> URL: https://issues.apache.org/jira/browse/SPARK-17723
> Project: Spark
> Issue Type: Improvement
> Components: Spark Submit
> Affects Versions: 2.1.0
> Reporter: Jacek Laskowski
> Priority: Minor
>
> WARN messages are printed out when {{spark-shell}} starts with
> {{--proxy-user}} command-line option.
> {code}
> $ ./bin/spark-shell --proxy-user user
> log4j:WARN No appenders could be found for logger
> (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
> info.
> Using Spark's default log4j profile:
> org/apache/spark/log4j-defaults.properties
> Setting default log level to "WARN".
> To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use
> setLogLevel(newLevel).
> Spark context Web UI available at http://192.168.65.1:4040
> Spark context available as 'sc' (master = local[*], app id =
> local-1475152321458).
> Spark session available as 'spark'.
> Welcome to
> ____ __
> / __/__ ___ _____/ /__
> _\ \/ _ \/ _ `/ __/ '_/
> /___/ .__/\_,_/_/ /_/\_\ version 2.1.0-SNAPSHOT
> /_/
> Using Scala version 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_102)
> Type in expressions to have them evaluated.
> Type :help for more information.
> scala> :quit
> $ ./bin/spark-shell --version
> Welcome to
> ____ __
> / __/__ ___ _____/ /__
> _\ \/ _ \/ _ `/ __/ '_/
> /___/ .__/\_,_/_/ /_/\_\ version 2.1.0-SNAPSHOT
> /_/
> Branch master
> Compiled by user jacek on 2016-09-29T07:33:19Z
> Revision 37eb9184f1e9f1c07142c66936671f4711ef407d
> Url https://github.com/apache/spark.git
> Type --help for more information.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]