Flutemr commented on issue #10540:
URL:
https://github.com/apache/dolphinscheduler/issues/10540#issuecomment-1179904527
> > > 有错误的日志吗?
> > > BTW,请用英文描述,以便其他人理解。
> > > 2.0.5-release
> > > 错误日志
> >
> >
> >
[LOG-PATH]:/opt/dolphinscheduler/logs/5858213194912_5/1315/2510.log,[HOST]:10.60.0.49
[INFO] 2022-06-23 06:00:31.251 TaskLogLogger-class
org.apache.dolphinscheduler。 plugin.task.sql.SqlTask:[118] - 完整的 sql
参数:SqlParameters{type='HIVE', datasource=3, sql='INSERT overwrite table
yyt_dwd.dwd_gy_ykt_xsyktzpxx partition(dt=Double subscripts: use braces to
clarify
> >
> > '${bizdate1}') select distinct ecode
,UPPER(REGEXP_REPLACE(outid,'[^0-9a-zA-Z]+','')) as outid ,photo ,updateflag ,
updatedt ,downdt ,ver from yyt_ods.ods_card_m_base_ecardphotos 其中
dt='${bizdate1}' 和 outid <>''', sqlType=1, sendEmail=false, displayRows=10,
limit=0, udfs='', showType='null', connParams='', groupId ='0', title='',
preStatements=[CREATE TABLE if not exists `yyt_dwd.dwd_gy_ykt_xsyktzpxx`(
`ecode`string COMMENT '企业IDECARD-T4.0等多客户版本必填,其他版本不用填', `outid`string COMMENT
'学工号', `photo`binary COMMENT '照片', `updateflag`字符串 COMMENT '更新状态修改
1:新增;2:;99:已同步', `updatedt`字符串 COMMENT '更新时间', `downdt`字符串 COMMENT '读取时间',
`ver`字符串 COMMENT '记录版本,用于增量同步') COMMENT '一卡通层照片信息' PARTITION BY ( `dt`string
COMMENT 'ods分区字段,如20220321') stored as orc], postStatements=[]} [INFO]
2022-06-23 06:00:31.251 TaskL
ogLogger-class org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[119] -
sql 类型:HIVE,数据源:3,sql:INSERT 覆盖表 yyt_dwd。 dwd_gy_ykt_xsyktzpxx
partition(dt=Double subscripts: use braces to clarify
> >
> > '${bizdate1}') 选择不同的编码 ,UPPER( REGEXP_REPLACE
(outid,'[^0-9a-zA-Z]+','')) 作为 outid ,photo ,updateflag , updatedt ,downdt ,ver
来自 yyt_ods.ods_card_m_base_ecardphotos 其中 dt=无法呈现表达式。 '${bizdate1}' 和 outid
<>'' , localParams : [Property{prop='bizdate1', direct=IN, type=VARCHAR,
value=Extra close brace or missing open brace
> >
> > '${system.biz.date}'}],udfs : ,showType : null,connParams :
,varPool : [] ,查询最大结果限制 0 [INFO] 2022-06-23 06:00:31.252 TaskLogLogger-class
org.apache .dolphinscheduler.plugin.task.sql.SqlTask:[94] - setSqlParamsMap:
具有参数名称的属性:bizdate1 放入内容的 sqlParamsMap 中 INSERT 覆盖表 yyt_dwd.dwd_gy_ykt_xsyktzpxx
分区(dt='${bizdate1}') 选择 不同的编码 ,UPPER( REGEXP_REPLACE(outid,'[^0-9a-zA-Z]+',''))
as outid ,photo ,updateflag , updatedt ,downdt ,ver from
yyt_ods.ods_card_m_base_ecardphotos where
dt=成功。具有参数名称的属性:放入内容的中,覆盖表bizdate1′andoutid<>″成功。[INFO]2022−06−2306:00:31.252TaskLogLogger−classorg.apache.dolphinscheduler.plugin.task.sql.SqlTask:[94]−setSqlParamsMap:具有参数名称的属性:bizdate1放入内容的sqlParamsMap中,INSERT覆盖表yytdwd.dwdgyyktxsyktzpxxpartition(dt=′{bizdate1}')
选择不同的编码 ,UPPER( REGEXP_REPLACE (
outid,'[^0-9a-zA-Z]+','')) 作为 outid ,photo ,updateflag , updatedt , downdt
,ver 从 yyt_ods.ods_card_m_base_ecardphotos where dt='${bizdate1}' and outid
<>'' 成功。 [INFO] 2022-06-23 06:00:31.252 TaskLogLogger-class
org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[418] - 替换 sql
后,准备:INSERT 覆盖表 yyt_dwd。 选择不同的 ecode ,UPPER( REGEXP_REPLACE
(outid,'[^0-9a-zA-Z]+','')) 作为 outid ,photo ,updateflag , updatedt ,downdt ,ver
from yyt_ods.ods_card_m_base_ecardphotos where dt=? 和 outid <>'' [INFO]
2022-06-23 06:00:31.252 TaskLogLogger-class
org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[427] - Sql 参数被替换 sql
,参数:20220622( VARCHAR)20220622(VARCHAR) [INFO] 2022-06-23 06:00:31.252
TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[418]
- 替换 sql 后,准备:如果没有,则创建表存在`yyt_dwd.dwd_gy_ykt_xsyktzpxx`( `ecode`string COMMENT
'企业IDECARD-T4.0等多客户版本�
�填,其他版本不用填', `outid`string COMMENT '学工号', `photo` `updateflag`string COMMENT
'更新状态1:新增;2:修改;99:已同步', `updatedt`string COMMENT '更新时间', `downdt`string COMMENT
'读取时间', `ver`string COMMENT '记录版本,用于增量同步') COMMENT '一卡通图片信息' PARTITIONED BY (
`dt`string'ods 分区字段,如2022220321') 存储为orc [IN] 2022-06-23 06:00:31.252
TaskLogLogger-class org.apache.plugin.task.sql。 SqlTask:[427] - Sql 参数被替换为
sql ,参数: [INFO] 2022-06-23 06:00:31.252 TaskLogLogger-class
org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[496] - can' t find udf
function resource [ERROR] 2022-06-23 06:01:08.356 TaskLogLogger-class
org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[209] - 执行 sql 错误:SQL 任务
prepareStatementAndBind 错误 [错误] 2022-06-23 06:01:08.356 TaskLogLogger-class
org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[160] - sql
任务错误:org.apache.dolphinscheduler.plugin.task.api。 TaskException:SQL 任务
prepareStatementAndBind 错误
>
> 你的解决了吗?
没有,今天好多个任务又出现了。
--
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]