dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[BUG] allways fail when a task instance submit multiple yarn application

Open LinkSe7en opened this issue 6 years ago • 3 comments

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 image image

LinkSe7en avatar May 07 '20 15:05 LinkSe7en

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

image

LinkSe7en avatar May 07 '20 15:05 LinkSe7en

You should alter app_link's type to longtext,then work well

itbasketplayer avatar May 07 '20 15:05 itbasketplayer

this bug have fix in dev. pr: https://github.com/apache/incubator-dolphinscheduler/commit/91ecc549a1d7cfae2ead6eb16b5e5559d13f54e0

Eights-Li avatar May 09 '20 03:05 Eights-Li