ruanwenjun commented on issue #7482:
URL: https://github.com/apache/kyuubi/issues/7482#issuecomment-4570191426

   I think I may know the root cause. This appears to be a bug in 
DolphinScheduler's datasource connection pool management and is unrelated to 
Kyuubi.
   
   Specifically, the issue is here:
   
   
https://github.com/apache/dolphinscheduler/blob/7fdc30981224a8c7cc932817ec0b0793191fb635/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/plugin/DataSourceClientProvider.java#L45-L53
   
   The connection pool is closed after it has existed for two hours. If a task 
is still using that connection pool when it gets closed, an error can occur. My 
guess is that this is what is happening in your case.
   
   This issue needs to be fixed in DolphinScheduler itself. In the 3.3.x 
series, we removed the connection pool entirely, so this particular problem 
should no longer occur there. cc @pan3793 @A-little-bit-of-data 


-- 
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