Closed hanna-liashchuk closed 1 year ago
1.6.0 doesn't work without this podNamePrefix parameter as the name generated by the Kyuubi server doesn't conform to the k8s naming conventions. 1.6.1 doesn't work even with this parameter.
What's the exact error? Is it https://issues.apache.org/jira/browse/SPARK-40869?
@pan3793 nope, it's Unrecognized options: --podName
I've attached the log in the description
1.6.0 doesn't work without this podNamePrefix parameter as the name generated by the Kyuubi server doesn't conform to the k8s naming conventions. 1.6.1 doesn't work even with this parameter.
I see you pasted the executor error logs, but could you please elaborate more about the details? e.g. the kyuubi generated spark-submit command, the driver logs.
@pan3793 sorry, I've updated the ticket with server and engine logs since we are running in k8s, spark driver pod == kyuubi server pod. If you know any other option, please share :)
worth mentioning that we have not only spark in Kubernetes, but the kyuubi server itself
so I missed the fact that my Kyuubi image has a different spark version from the spark driver image. This was the root cause Closing this issue p.s. 1.6.1 seems to be working ok with k8s, even the executor name issue is gone. Good work! :)
Good to know your problem is resolved :)
Code of Conduct
Search before asking
Describe the bug
I'm testing 1.6.1-incubating release on Kubernetes and I found out that it is completely broken. Executors are starting and failing after a couple of seconds.
Executor log is below:
Lats version that worked was 1.6.0-incubating, the SPARK_EXECUTOR_POD_NAME var was set with the value from spark.kubernetes.executor.podNamePrefix. NB: 1.6.0 doesn't work without this podNamePrefix parameter as the name generated by the Kyuubi server doesn't conform to the k8s naming conventions. 1.6.1 doesn't work even with this parameter.
Affects Version(s)
1.6.1
Kyuubi Server Log Output
Kyuubi Engine Log Output
Kyuubi Server Configurations
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?