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

Allow setting spark.app.id when spark-submit for Spark on Kubernetes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 3.0.0
    • None
    • Kubernetes, Spark Core

    Description

      when the user provides  `spark.app.id`  by `spark-submit`, it's actually doing nothing to change the `spark.app.id`, as `spark.app.id` can only be set by `kubernetesAppId` every time, which makes the users feel confused.

      https://github.com/apache/spark/blob/master/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/submit/KubernetesClientApplication.scala#L196

      Knowing that `spark.app.id` would be labeled to Driver/Executor pods and other resources and the strict limitation of the label values, but I think it would be more flexible to users to decide how to generate the `spark.app.id` by themselves. 

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              runzhliu Liu Runzhong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: