SbloodyS opened a new issue #5887:
URL: https://github.com/apache/dolphinscheduler/issues/5887
```
[ERROR] 2021-07-26 16:34:15.197
org.apache.dolphinscheduler.server.master.processor.queue.TaskResponseService:[169]
- worker response master error
org.springframework.dao.DataIntegrityViolationException:
### Error updating database. Cause: com.mysql.jdbc.MysqlDataTruncation:
Data truncation: Data too long for column 'app_link' at row 1
### The error may exist in
org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapper.java (best guess)
### The error may involve
org.apache.dolphinscheduler.dao.mapper.TaskInstanceMapper.updateById-Inline
### The error occurred while setting parameters
### SQL: UPDATE t_ds_task_instance SET flag=?, task_json=?, pid=?,
app_link=?, task_type=?, task_instance_priority=?, log_path=?, host=?,
start_time=?, worker_group=?, state=?, process_instance_id=?,
process_definition_id=?, executor_id=?, alert_flag=?, execute_path=?,
max_retry_times=?, retry_times=?, submit_time=?, name=?, retry_interval=?,
end_time=? WHERE id=?
### Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too
long for column 'app_link' at row 1
; Data truncation: Data too long for column 'app_link' at row 1; nested
exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long
for column 'app_link' at row 1
at
org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:104)
at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at
org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:74)
at
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440)
at com.sun.proxy.$Proxy84.update(Unknown Source)
at
org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:287)
at
com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:63)
at
com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61)
at com.sun.proxy.$Proxy91.updateById(Unknown Source)
at
org.apache.dolphinscheduler.service.process.ProcessService.updateTaskInstance(ProcessService.java:1258)
at
org.apache.dolphinscheduler.service.process.ProcessService.saveTaskInstance(ProcessService.java:1236)
at
org.apache.dolphinscheduler.service.process.ProcessService.changeTaskState(ProcessService.java:1477)
at
org.apache.dolphinscheduler.service.process.ProcessService$$FastClassBySpringCGLIB$$ed138739.invoke(<generated>)
at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
at
org.apache.dolphinscheduler.service.process.ProcessService$$EnhancerBySpringCGLIB$$3190e0f0.changeTaskState(<generated>)
at
org.apache.dolphinscheduler.server.master.processor.queue.TaskResponseService.persist(TaskResponseService.java:159)
at
org.apache.dolphinscheduler.server.master.processor.queue.TaskResponseService.access$100(TaskResponseService.java:44)
at
org.apache.dolphinscheduler.server.master.processor.queue.TaskResponseService$TaskResponseWorker.run(TaskResponseService.java:114)
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too
long for column 'app_link' at row 1
```
**Which version of Dolphin Scheduler:**
-[1.3.6]
It is normal to change the field type to text.
--
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]