A-little-bit-of-data opened a new issue, #6724:
URL: https://github.com/apache/kyuubi/issues/6724

   ### 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
   
   After configuring HA in kyuubi-defaults.conf and setting 
kyuubi.engine.share.level to GROUP, and setting a spark user 
___batch3___.spark.app.name=batch3
   ___batch3___.spark.executor.instances=3
   ___batch3___.spark.driver.cores=1
   ___batch3___.spark.executor.cores=5
   ___batch3___.spark.kubernetes.driver.limit.cores=1
   ___batch3___.spark.kubernetes.executor.limit.cores=5
   ___batch3___.spark.driver.memory=1g
   ___batch3___.spark.executor.memory=20g
   Then connect through zk, /opt/kyuubi/bin/beeline -u 
'jdbc:hive2://XXXX:2181/;kyuubi.engine.type=SPARK_SQL;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=kyuubi'
 -n batch3 -p
   
   /opt/kyuubi/bin/beeline -u 
'jdbc:hive2://XXXX:2181/;kyuubi.engine.type=TRINO;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=kyuubi'
 -n evm -p
   
   All of the above will be started through the spark SQL engine. Since the 
evm-related spark configuration is not configured, the startup will report an 
error: Caused by: io.fabric8.kubernetes.client.KubernetesClientException: 
Failure executing: POST at: 
https://kubernetes.default.svc:443/api/v1/namespaces/XXXX/pods. Message: Pod 
"kyuubi-group-spark-sql-evm-default-4749a463-d023-40a0-9f29-c2a20294f86d-driver"
 is invalid: spec.containers[0].resources.requests: Invalid value: "1": must be 
less than or equal to cpu limit. Received status: Status(apiVersion=v1, 
code=422, details 
=StatusDetails(causes=[StatusCause(field=spec.containers[0].resources.requests, 
message=Invalid value: "1": must be less than or equal to cpu limit, 
reason=FieldValueInvalid, additionalProperties={})], group=null, kind=Pod, 
name=kyuubi-group-spark-sql-evm-default-4749a463-d023-40a0-9f29-c2a20294f86d-driver,
 retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, 
message=Pod "kyuubi-group-spark-s
 ql-evm-default-4749a 463-d023-40a0-9f29-c2a20294f86d-driver" is invalid: 
spec.containers[0].resources.requests: Invalid value: "1": must be less than or 
equal to cpu limit, metadata=ListMeta(_continue=null, remainingItemCount=null, 
resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid , 
status=Failure, additionalProperties={}).
   
   ### Affects Version(s)
   
   1.9.1
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi 
community to fix.
   - [ ] 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]

Reply via email to