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

Docker container built for Kubernetes doesn't allow running entrypoint.sh

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: Kubernetes
    • Labels:
      None

      Description

      Default docker images built thrown an error when trying to run on a cluster. The error looks like the following:

      ```
      9s 9s 1 kubelet, gke-jupytercluster2-default-pool-6be20085-4nm4spec.containers

      {spark-kubernetes-driver}

      Warning Failed Error: failed to start container "spark-kubernetes-driver": Error response from daemon:

      {"message":"oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"/opt/entrypoint.sh\\\": permission denied\"\n"}

      ```

      The fix is probably just changing permissions for the entrypoint script in the default docker image.

        Attachments

          Activity

            People

            • Assignee:
              foxish Anirudh Ramanathan
              Reporter:
              foxish Anirudh Ramanathan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: