Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28627

properties file via SPARK_CONF_DIR and --properties-file prevents definition of own properties via secrets/own mounts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.4.3
    • None
    • Kubernetes, Spark Core
    • None

    Description

      K8S resource manager dumps the config map to /opt/spark/conf/spark-defaults.conf and passes it to spark submit twice:

      • via env var SPARK_CONF_DIR
      • argument --properties-file

      This prevents definition if user defined properties, such as from secrets - currently it seems to be the only possibility to define spark config properties from secrets but is locked currently.

      Is this implementation intent? If yes, what are the reasons behind this decision?

      Attachments

        Activity

          People

            Unassigned Unassigned
            rolandjohann Roland Johann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: