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

Unable to Mount ConfigMap in Driver Pod - ConfigMap Creation Issue

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    XMLWordPrintableJSON

Details

    Description

      Dear Spark community,

      I am facing an issue related to mounting a ConfigMap in the driver pod of my Spark application. Upon investigation, I realized that the problem is caused by the ConfigMap not being created successfully.

      Problem Description:
      When attempting to mount the ConfigMap in the driver pod, I encounter consistent failures and my pod stays in containerCreating state. Upon further investigation, I discovered that the ConfigMap does not exist in the Kubernetes cluster, which results in the driver pod's inability to access the required configuration data.

      Additional Information:

      I would like to highlight that this issue is not a frequent occurrence. It has been observed randomly, affecting the mounting of the ConfigMap in the driver pod only approximately 5% of the time. This intermittent behavior adds complexity to the troubleshooting process, as it is challenging to reproduce consistently.

      Error Message:

      when describing driver pod (kubectl describe pod pod_name)  get the below error.

      "ConfigMap '<configmap-name>' not found."

      To Reproduce:

      1. Download spark 3.3.1 from https://spark.apache.org/downloads.html

      2. create an image with "bin/docker-image-tool.sh"

      3. Submit on spark-client via bash command by passing all the details and configurations.

      4. Randomly in some of the driver pod we can observe this issue.

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            harshwardhan.dodiya Harshwardhan Singh Dodiya

            Dates

              Created:
              Updated:

              Slack

                Issue deployment