dolphinscheduler
dolphinscheduler copied to clipboard
[BUG] allways fail when a task instance submit multiple yarn application
ds will write all yarn app_ids at table t_ds_task_instance, app_link column.
If is over 255 charters(limit of this varchar column) , mysql driver will throw com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'app_link' at row 1
And treat this task instance as a failure

and shell task return code is 0, not -1 in log


You should alter app_link's type to longtext,then work well
this bug have fix in dev. pr: https://github.com/apache/incubator-dolphinscheduler/commit/91ecc549a1d7cfae2ead6eb16b5e5559d13f54e0