dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Task instance log cannot be updated

Open wxg0103 opened this issue 6 years ago • 8 comments

工作流定义完成 运行 工作流实例运行的时候 任务实例的日志没有更新 也没有反应

wxg0103 avatar May 20 '20 07:05 wxg0103

Could you paste a screen capture?

tlhhup avatar May 21 '20 06:05 tlhhup

can you provide more information? for example error log

597365581 avatar Jun 02 '20 08:06 597365581

At present, when the shell task is running, you cannot view the log. You can only view the log after the shell task is executed. Does anyone want to fix it?

xingchun-chen avatar Jul 14 '20 09:07 xingchun-chen

flush log has two condition : log size > 64 or flush time interval 1s , otherwise save memory . if you use sleep test . for example : echo 1111111111 sleep 100 echo 2222222222

echo 1111111111 can read , but doesn't match above conditions . so don't flush if you doubt why sleep 100 . time condition doesn't match . because process not output and flush method doesn't execute

qiaozhanwei avatar Jul 23 '20 11:07 qiaozhanwei

flush log has two condition : log size > 64 or flush time interval 1s , otherwise save memory . if you use sleep test . for example : echo 1111111111 sleep 100 echo 2222222222

echo 1111111111 can read , but doesn't match above conditions . so don't flush if you doubt why sleep 100 . time condition doesn't match . because process not output and flush method doesn't execute

size > 64 ? what's unit of 64? Kib?

gabry-lab avatar Jul 24 '20 05:07 gabry-lab

List<String> logBuffer

qiaozhanwei avatar Jul 24 '20 06:07 qiaozhanwei

@xingchun-chen have other advice ?

qiaozhanwei avatar Jul 27 '20 02:07 qiaozhanwei

At present, when the shell task is running, you cannot view the log. You can only view the log after the shell task is executed. Does anyone want to fix it?

I think this is OK, no need to fix to avoid disk pressure

gabry-lab avatar Jul 28 '20 03:07 gabry-lab