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

Michael Gendelman commented on SPARK-24091:
-------------------------------------------

[~tmckay] We are experiencing the same issue and your solution looks great but 
I'm not sure how to implement it. You write:
{quote}One way to handle this is allow a user-specified ConfigMap to be mounted 
at another location
{quote}
How can we mount a user-specified ConfigMap when we can't control the Pod 
specification?

> Internally used ConfigMap prevents use of user-specified ConfigMaps carrying 
> Spark configs files
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-24091
>                 URL: https://issues.apache.org/jira/browse/SPARK-24091
>             Project: Spark
>          Issue Type: Brainstorming
>          Components: Kubernetes
>    Affects Versions: 2.4.0
>            Reporter: Yinan Li
>            Priority: Major
>
> The recent PR [https://github.com/apache/spark/pull/20669] for removing the 
> init-container introduced a internally used ConfigMap carrying Spark 
> configuration properties in a file for the driver. This ConfigMap gets 
> mounted under {{$SPARK_HOME/conf}} and the environment variable 
> {{SPARK_CONF_DIR}} is set to point to the mount path. This pretty much 
> prevents users from mounting their own ConfigMaps that carry custom Spark 
> configuration files, e.g., {{log4j.properties}} and {{spark-env.sh}} and 
> leaves users with only the option of building custom images. IMO, it is very 
> useful to support mounting user-specified ConfigMaps for custom Spark 
> configuration files. This worths further discussions.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to