Skip to content

[QUESTION] How to disable spark.properties generation? #2279

@meatheadmike

Description

@meatheadmike

I can't seem to find a way to disable the built-in /opt/spark/conf/spark.properties. Generating config via configmaps is not really a viable option for me since I'm trying to build a single spark image that can be used in multiple scenarios (kubeflow being one of them).

Kubeflow seems to stomp all over the /opt/spark/conf path. So I've built a container that keeps config in /opt/spark/config instead and set the appropriate env variable (SPARK_CONF_DIR). But that seems to be ignored because "--properties-file /opt/spark/conf/spark.properties" is injected during job submission. Is there a way to override or remove that option?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions