Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-33005 Kubernetes GA Preparation
  3. SPARK-33175

Detect duplicated mountPath and fail at Spark side

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.7, 3.0.2, 3.1.0
    • 3.1.0
    • Kubernetes
    • None

    Description

      If there is a mountPath conflict, the pod is created and repeats the following error messages and keep running. This should not keep running and we had better fail at Spark side.

      $ k get pod -l 'spark-role in (driver,executor)'
      NAME    READY   STATUS    RESTARTS   AGE
      tpcds   1/1     Running   0          14m
      
      20/10/18 05:09:26 WARN ExecutorPodsSnapshotsStoreImpl: Exception when notifying snapshot subscriber.
      io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: ...
      Message: Pod "tpcds-exec-1" is invalid: spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/data1": must be unique.
      

      Attachments

        Activity

          People

            dongjoon Dongjoon Hyun
            dongjoon Dongjoon Hyun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: