[ https://issues.apache.org/jira/browse/SPARK-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477398#comment-16477398 ]
Kaspar Tint commented on SPARK-10881: ------------------------------------- This seems to be an issue with 2.2.X Spark also. We did not experience the issue with Spark 2.1.X tough. > 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 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org