-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run spark-submit failed on Kubernetes cluster #2168
Comments
I met above errors after run spark-submit. anyone can help me on it? Thanks a lot. |
@henryon : Could you please share code which is causing this?
Looks like you're not specifying name for the |
@rohanKanojia I didn't found where I can specify them. could you help provide guidance for that. I ran below commands after minikube is up and spark2.4.5 docker image is build.
|
@henryon this one:
Can refer my blog for more details: https://medium.com/@tunguyen9889/how-to-run-spark-job-on-eks-cluster-54f73f90d0bc |
We find a same issue when running Flink on K8s. Currently, i have a very simple conclusion here. Because of the compatibility issue of fabric8 kubernetes-client, the fabric8 kubernetes-client has the following known limitation.
|
In kubernetes 1.18 and spark 2.4.5,
this worked for me. Thank you. EDIT: I needed jdk8u242 in both submitter machine and spark container image. |
I am facing same error.
Is this error related to spark, k8s, java, versions ? EDIT: Downgrading kubernetes to 1.15 worked for me. |
I had the exact same issue when using Java 8u251. Downgrading to Java 8u241 solved this. |
@MartinPodval : Could you please try on Kubernetes Client version v4.10.2? |
Duplicate of #2145 |
I think this issue can be closed. Please feel free to reopen this in case you are able to reproduce this on latest versions. |
I got the same error. The steps to reproduce
|
@it seems like that spark can't connect to the master URL. I think we should check the client and k8s connection when we initializing the |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
there is a typo in your master url, i think |
Environment
MacBook Pro
jdk1.8
spark 2.4.5
minikube status
m01
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
##############error logs###############
The text was updated successfully, but these errors were encountered: