jasonchrion commented on issue #4629: URL: https://github.com/apache/kyuubi/issues/4629#issuecomment-1537687374
as you can see in the logs output, you must specify the spark docker image, and also the serviceaccount kyuubi in namespace kyuubi hasn't pod permission in namespace default as k8s role mechanism. as a best practices, you should also specify a user: `bin/beeline -u 'jdbc:hive2://kyuubi-thrift-binary:10009/?spark.kubernetes.namespace=kyuubi;spark.kubernetes.container.image=apache/spark:v3.3.2;spark.kubernetes.authenticate.driver.serviceAccountName=spark' -n root` if everything ok, you could see 2 spark pod running. As a NOT recommended way, you can also change the role and rolebinding to clusterrole and clusterrolebinding. please see [spark k8s configuration](https://spark.apache.org/docs/latest/running-on-kubernetes.html#configuration) as a reference. @tnk-dev -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
