dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug][API] The Spark task runs in Cluster mode, executes successfully but the status of the task is shown to fail

Open yy0812 opened this issue 6 years ago • 5 comments

use version 1.3.1 of Dolphinscheduler:

Describe the bug The Spark task runs in Cluster mode, executes successfully but the status of the task is shown to fail.

To Reproduce

  1. Run a Spark task in Cluster mode.
  2. view the status fo the task,failed. image
  3. View the task log and the end of the log shows that the Spark task executed successfully. image

Expected behavior The Spark task runs in Cluster mode, executes successfully then the status of the task is shown to success.

yy0812 avatar Aug 25 '20 02:08 yy0812

You can check if there is an error in the worker log

xingchun-chen avatar Aug 25 '20 05:08 xingchun-chen

I checked the log on yarn and found no errors, what are the criteria for determining the execution state of the current Spark task?

yy0812 avatar Aug 25 '20 06:08 yy0812

The Spark task runs in Cluster mode, executes successfully then the status of the task is shown to submit success.

shitoubiao avatar Aug 25 '20 06:08 shitoubiao

I checked the log on yarn and found no errors, what are the criteria for determining the execution state of the current Spark task?

not yarn log, please find exit code for this task in the DolphinScheduelr worker server runtime log, if exit code is not 0, it will failure

davidzollo avatar Aug 25 '20 08:08 davidzollo

I checked the log on yarn and found no errors, what are the criteria for determining the execution state of the current Spark task?

not yarn log, please find exit code for this task in the DolphinScheduelr worker server runtime log, if exit code is not 0, it will failure

Sorry, after check because my configuration parameters of the yarn. The yarn.resourcemanager.ha.rm.ids configuration errors caused by waste your time

yy0812 avatar Aug 25 '20 08:08 yy0812