dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Why the task was judged error

Open hi-liuxt opened this issue 6 years ago • 11 comments

1.2.0 2020-06-03 16-14-02屏幕截图 q: There is no error in running shell task. Why DS thinks the task is error

hi-liuxt avatar Jun 03 '20 08:06 hi-liuxt

did you see worker server runtime log about this task?

davidzollo avatar Jun 03 '20 08:06 davidzollo

did you see worker server runtime log about this task?

yes, The same task is executed by both direct server and Azkaban successfully

Is there any restriction on the script content? I can modify the script content to the normal command,then is ok

Note: now the script content is mainly HQL

hi-liuxt avatar Jun 03 '20 08:06 hi-liuxt

does all shell task failure? there is no special handle. if it's a yarn task, it also will get the final running result of the yarn, if yarn give failure, the shell task will also failure. you can see the exit code of this shell task in the worker server runtime log, the normal exit code is 0

by the way, could you paste some script content if it's convenient for you

davidzollo avatar Jun 03 '20 09:06 davidzollo

1、Same type of task 2020-06-03 17-21-39屏幕截图

2、code 2020-06-03 17-17-39屏幕截图 3、api log 2020-06-03 17-19-10屏幕截图 4、yarn 2020-06-03 17-20-50屏幕截图 5、master log 2020-06-03 17-09-46屏幕截图 6、alter log 2020-06-03 17-28-52屏幕截图

hi-liuxt avatar Jun 03 '20 09:06 hi-liuxt

The most important is worker log, may be it has ERROR or Exception

itbasketplayer avatar Jun 03 '20 13:06 itbasketplayer

The most important is worker log, may be it has ERROR or Exception

yes, worker log about this task instance is very importent

davidzollo avatar Jun 03 '20 16:06 davidzollo

The most important is worker log, may be it has ERROR or Exception

yes, worker log about this task instance is very importent

Sure enough, I ignored it,Is it possible that there is something wrong with my configuratio

2020-06-04 09-14-23屏幕截图 2020-06-04 09-14-33屏幕截图 2020-06-04 09-32-29屏幕截图

hi-liuxt avatar Jun 04 '20 01:06 hi-liuxt

The most important is worker log, may be it has ERROR or Exception

yes, worker log about this task instance is very importent

What's the problem with this error message

hi-liuxt avatar Jun 04 '20 06:06 hi-liuxt

The most important is worker log, may be it has ERROR or Exception

yes, worker log about this task instance is very importent

What's the problem with this error message

#2491

743294668 avatar Jun 05 '20 05:06 743294668

have you solved this problem, if solved , please close the issue, thx

davidzollo avatar Jun 12 '20 03:06 davidzollo

yarn.application.status.address this parameter already set ? you can refer to this issue https://github.com/apache/incubator-dolphinscheduler/issues/2491

gabry-lab avatar Jun 17 '20 01:06 gabry-lab