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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • Kubernetes, Spark Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: