You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "David Moravek (JIRA)" <ji...@apache.org> on 2015/09/30 14:06:04 UTC

[jira] [Created] (SPARK-10881) Unable to use custom log4j appender in spark executor

David Moravek created SPARK-10881:
-------------------------------------

             Summary: Unable to use custom log4j appender in spark executor
                 Key: SPARK-10881
                 URL: https://issues.apache.org/jira/browse/SPARK-10881
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.3.1
            Reporter: David Moravek
            Priority: Minor


In CoarseGrainedExecutorBackend, log4j is initialized, before userclasspath gets registered:

https://github.com/apache/spark/blob/v1.3.1/core/src/main/scala/org/apache/spark/executor/CoarseGrainedExecutorBackend.scala#L126

In order to use custom appender, one have to distribute it using `spark-submit --files` and set it via spark.executor.extraClassPath





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