jonwjh94 opened a new issue #7671:
URL: https://github.com/apache/dolphinscheduler/issues/7671


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   
![image](https://user-images.githubusercontent.com/38685000/147537710-ecea98b0-25d4-468f-958b-5d298c1f5241.png)
   
![image](https://user-images.githubusercontent.com/38685000/147537750-9a017819-d590-430d-b8f9-9c5d0fc47f6c.png)
   
使用JdbcDataSourceProvider.createOneSessionJdbcDataSource()方法hive/impala创建连接池设置了MaximumPoolSize=1,但是调度任务是,一般hive/impala都是多任务同时跑的话,会出现getConnection=null的情况,因此SqlTask.prepareStatementAndBind()方法会抛出空指针异常。
   
   
   
   
   ### What you expected to happen
   
   为什么hive/impala连接池需要创建容量为1的连接池?
   
   ### How to reproduce
   
   see what happened
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.1
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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


Reply via email to