FMX opened a new issue, #5419:
URL: https://github.com/apache/kyuubi/issues/5419

   ### 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
   
   I am using Spark with Kyuubi.
   I want the query will be canceled due to timeout according to a user scope 
config but it has no effect. 
   The two configs 
   ```properties
   kyuubi.operation.query.timeout PT60s
   ___hadoop___.kyuubi.operation.query.timeout PT30s
   ```
   After debugging, I found that the clientQueryTimeout is always 0 in 
`KyuubiOperationManager` and just uses the global queryTimeout.
   <img width="815" alt="截屏2023-10-13 20 05 32" 
src="https://github.com/apache/kyuubi/assets/4150993/4835219e-0ed2-4c17-94cf-f7c4b7298102";>
   
   
   ### Affects Version(s)
   
   1.7.1
   
   ### Kyuubi Server Log Output
   
   ```logtalk
   2023-10-13T19:57:35,006 INFO org.apache.kyuubi.server.KyuubiServer: 
Service[KyuubiBackendService] is started.
   2023-10-13T19:57:35,007 INFO org.apache.zookeeper.ClientCnxn: Session 
establishment complete on server master-1-1/192.168.13.15:2181, sessionid = 
0x1000000b31206fc, negotiated timeout = 60000
   2023-10-13T19:57:35,007 INFO 
org.apache.kyuubi.server.KyuubiTBinaryFrontendService: Starting and exposing 
JDBC connection at: jdbc:hive2://master-1-1:10009/
   ```
   
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   ```yaml
   kyuubi.operation.query.timeout PT60s
   ___hadoop___.kyuubi.operation.query.timeout PT30s
   ```
   
   
   ### Kyuubi Engine Configurations
   
   ```yaml
   spark.kyuubi.operation.query.timeout PT30s
   ```
   
   
   ### 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.
   - [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]

Reply via email to