shiliquan opened a new issue #3790:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3790
用的1.3.2的版本,然后执行MySQL任务时就一直报如下错误:
[INFO] 2020-09-23 00:18:01.381 - [taskAppId=TASK-1-7-7]:[104] - Full sql
parameters: SqlParameters{type='MYSQL', datasource=1, sql='select * from
t_ds_user;', sqlType=0, udfs='', showType='TABLE', connParams='',
title='msyql_select', receivers='[email protected]', receiversCc='',
preStatements=[], postStatements=[]}
[INFO] 2020-09-23 00:18:01.384 - [taskAppId=TASK-1-7-7]:[105] - sql type :
MYSQL, datasource : 1, sql : select * from t_ds_user; , localParams : [],udfs :
,showType : TABLE,connParams :
[INFO] 2020-09-23 00:18:01.384 - [taskAppId=TASK-1-7-7]:[176] - SQL title :
msyql_select
[INFO] 2020-09-23 00:18:01.385 - [taskAppId=TASK-1-7-7]:[499] - after
replace sql , preparing : select * from t_ds_user;
[INFO] 2020-09-23 00:18:01.385 - [taskAppId=TASK-1-7-7]:[504] - Sql Params
are replaced sql , parameters:
[INFO] 2020-09-23 00:18:01.385 - [taskAppId=TASK-1-7-7]:[52] - can't find
udf function resource
[INFO] 2020-09-23 00:18:01.415 - [taskAppId=TASK-1-7-7]:[418] - prepare
statement replace sql : com.mysql.jdbc.JDBC42PreparedStatement@76661b5c: select
* from t_ds_user;
[ERROR] 2020-09-23 00:18:16.433 - [taskAppId=TASK-1-7-7]:[242] - execute
sql error
java.lang.RuntimeException: send mail failed!
at
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.sendAttachment(SqlTask.java:461)
at
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.resultProcess(SqlTask.java:275)
at
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:232)
at
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.handle(SqlTask.java:139)
at
org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:129)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[ERROR] 2020-09-23 00:18:16.434 - [taskAppId=TASK-1-7-7]:[145] - sql task
error
java.lang.RuntimeException: execute sql error
at
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:243)
at
org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.handle(SqlTask.java:139)
at
org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:129)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]