You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:02:17 UTC

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

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org