You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/09/11 11:03:33 UTC

[jira] [Commented] (SPARK-880) When built with Hadoop2, spark-shell and examples don't initialize log4j properly

    [ https://issues.apache.org/jira/browse/SPARK-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129803#comment-14129803 ] 

Sean Owen commented on SPARK-880:
---------------------------------

This should be resolved/obsoleted by subsequent updates to SLF4J and log4j integration, and the props file.

> When built with Hadoop2, spark-shell and examples don't initialize log4j properly
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-880
>                 URL: https://issues.apache.org/jira/browse/SPARK-880
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Matei Zaharia
>
> They print this:
> {code}
> log4j:WARN No appenders could be found for logger (akka.event.slf4j.Slf4jEventHandler).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> {code}
> It might have to do with not finding a log4j.properties file. I believe hadoop1 had one in its own JARs (or depended on an older log4j that came with a default)? but hadoop2 doesn't. We should probably have our own default one in conf.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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