dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [sql-plugin] the log prossiblely mislead the users

Open CriysHot opened this issue 2 years ago • 1 comments

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 1663568339967 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: 1663568844419

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

CriysHot avatar Sep 19 '22 06:09 CriysHot

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

github-actions[bot] avatar Sep 19 '22 06:09 github-actions[bot]

Hello, I have encountered the same problem. How did you solve it ?

Guojcc avatar Dec 05 '22 10:12 Guojcc

+1

ATM006 avatar Aug 14 '23 06:08 ATM006