Closed duongnt closed 4 years ago
Hi @duongnt , thank you for creating the issue. You're right, the root cause of the error you've seen is the old version of the fabric8 Java Kubernetes Client. Please refer the compatibility matrix and note that you should upgrade client jars on both Livy and Spark classpaths. Also there are some explainations here.
Could you please share the steps you did on replace the jars
so I could reproduce your current issue? Also which version of GKE have you tried?
I received the same error. This seems related: https://github.com/kubernetes/kubernetes/issues/82131
Solution suggested there seems to be upgrading to spark 2.4.5
@kyprifog , 403 Forbidden - yes, Spark 2.4.5 depends on fabric8 Kubernetes client 4.6.1
which is compatible with Kubernetes API 1.12.0 - 1.15.3
. If you running these versions then upgrading Spark should work for you.
Also current Livy on Kubernetes build depends on older client version and needs to be upgraded as well (I have it on my nearest roadmap).
Strange to me that @duongnt gets /opt/entrypoint.sh: line 45: /opt/spark/conf/spark-defaults.conf: Read-only file system
error.
I tried to install in our GKE cluster and got this error:
I did some research and apparently the kubernetes client jar is too old: https://stackoverflow.com/questions/57643079/kubernetes-watchconnectionmanager-exec-failure-http-403
I followed the suggestions there and replace the jars, however after that I got this: