maron546 opened a new issue, #7114: URL: https://github.com/apache/kyuubi/issues/7114
### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) ### Search before asking - [x] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. ### Describe the bug Hi. We're using Kyuubi on Kubernetes with Apache Spark 3.3.3. When attempting to apply tolerations according to the [Spark documentation](https://downloads.apache.org/spark/docs/3.3.3/running-on-kubernetes.html#pod-template), we encounter the following error (see next section). Could this issue be related to [Pull Request #5293](https://github.com/apache/kyuubi/pull/5293)? Thanks in advance. ### Affects Version(s) 1.9.1 ### Kyuubi Server Log Output ```logtalk Exception in thread "main" java.lang.NoSuchMethodError: org.yaml.snakeyaml.constructor.SafeConstructor: method <init>()V not found at io.fabric8.kubernetes.client.utils.Serialization.unmarshalYaml(Serialization.java:373) at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:315) at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:271) at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:259) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.unmarshal(OperationSupport.java:737) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.load(BaseOperation.java:261) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.load(BaseOperation.java:276) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.load(BaseOperation.java:83) at org.apache.spark.deploy.k8s.KubernetesUtils$.loadPodFromTemplate(KubernetesUtils.scala:105) at org.apache.spark.deploy.k8s.submit.KubernetesDriverBuilder.$anonfun$buildFromFeatures$1(KubernetesDriverBuilder.scala:37) at scala.Option.map(Option.scala:230) at org.apache.spark.deploy.k8s.submit.KubernetesDriverBuilder.buildFromFeatures(KubernetesDriverBuilder.scala:32) at org.apache.spark.deploy.k8s.submit.Client.run(KubernetesClientApplication.scala:104) at org.apache.spark.deploy.k8s.submit.KubernetesClientApplication.$anonfun$run$5(KubernetesClientApplication.scala:248) at org.apache.spark.deploy.k8s.submit.KubernetesClientApplication.$anonfun$run$5$adapted(KubernetesClientApplication.scala:242) at org.apache.spark.util.Utils$.tryWithResource(Utils.scala:2764) at org.apache.spark.deploy.k8s.submit.KubernetesClientApplication.run(KubernetesClientApplication.scala:242) at org.apache.spark.deploy.k8s.submit.KubernetesClientApplication.start(KubernetesClientApplication.scala:214) at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:984) at org.apache.spark.deploy.SparkSubmit$$anon$1.run(SparkSubmit.scala:175) at org.apache.spark.deploy.SparkSubmit$$anon$1.run(SparkSubmit.scala:173) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1878) at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:173) at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:214) at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:90) at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1072) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1081) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) ``` ### Kyuubi Engine Log Output ```logtalk ``` ### Kyuubi Server Configurations ```yaml ``` ### Kyuubi Engine Configurations ```yaml spark.kubernetes.driver.podTemplateFile spark.kubernetes.executor.podTemplateFile ``` ### Additional context Template file: ``` apiVersion: v1 kind: Pod spec: tolerations: - effect: NoSchedule key: xxx operator: xxx value: xxx ``` ### Are you willing to submit PR? - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix. - [x] No. I cannot submit a PR at this time. -- 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]
