[
https://issues.apache.org/jira/browse/SPARK-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-10881:
---------------------------------
Labels: bulk-closed (was: )
> 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
> Labels: bulk-closed
>
> 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 has to distribute it using `spark-submit
> --files` and set it via spark.executor.extraClassPath
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]