dolphinscheduler
dolphinscheduler copied to clipboard
[Bug] [sql-plugin] the log prossiblely mislead the users
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
i only got the error is 'SQL task prepareStatementAndBind error' when i exec my sql task,
it's only a part of the complete logs.i'm sorry that i loss my picture on the ds web.
i logined my worker server and get the complete log,i found the real reason that casuse my task to fail. is 'get oneSessionDataSource Connection fail SQLException: HikariPool-3 - Connection is not available, request timed out after 30000ms.'
the fllowing is the log on the woker server
by the way,i watch the source code about SqlTask class,whatever exception we catch,we will get the error,SQL task prepareStatementAndBind error.
the fllowing is the source code:
What you expected to happen
i hope that ds can tell me complete error log then i can find the real reason that casuse my task to fail.
How to reproduce
sorry,i have no idea.
Anything else
No response
Version
dev
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
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
- In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
- If you haven't received a reply for a long time, you can join our slack and send your question to channel
#troubleshooting
Hello, I have encountered the same problem. How did you solve it ?
+1