[ 
https://issues.apache.org/jira/browse/SPARK-22777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anirudh Ramanathan updated SPARK-22777:
---------------------------------------
    Description: 
Default docker images built thrown an error when trying to run on a cluster. 
The error looks like the following:

{code:bash}

  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"}
{code}


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

  was:
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.


> Docker container built for Kubernetes doesn't allow running entrypoint.sh
> -------------------------------------------------------------------------
>
>                 Key: SPARK-22777
>                 URL: https://issues.apache.org/jira/browse/SPARK-22777
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes
>    Affects Versions: 2.3.0
>            Reporter: Anirudh Ramanathan
>            Priority: Minor
>
> Default docker images built thrown an error when trying to run on a cluster. 
> The error looks like the following:
> {code:bash}
>   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"}
> {code}
> The fix is probably just changing permissions for the entrypoint script in 
> the default docker image.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to