Skip to content

[Bug] [Module Name] The dependent task is stuck and cannot be executed #16156

@ahululu

Description

@ahululu

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I created two tasks A,B, and A dependent on the execution of B (execute B first and then execute A). I manually executed task B and then proceeded to execute A. And then A is pending, and the log looks like this:

[INFO] 2024-06-14 02:58:57.073 +0000 - Send task status RUNNING_EXECUTION to master dolphinscheduler-master-0.dolphinscheduler-master-headless:5678
[INFO] 2024-06-14 02:58:57.074 +0000 - Success initialize task parameters:
{
"localParams" : null,
"varPool" : null,
"dependTaskList" : [ {
"dependItemList" : [ {
"projectCode" : xxxx,
"definitionCode" : xxxxx,
"depTaskCode" : 0,
"cycle" : "day",
"dateValue" : "today",
"dependResult" : null,
"status" : null,
"parameterPassing" : false
}],
"relation" : "AND"
}],
"relation" : "AND",
"checkInterval" : 10,
"failurePolicy" : "DEPENDENT_FAILURE_FAILURE",
"failureWaitingTime" : null
}
[INFO] 2024-06-14 02:58:57.074 +0000 - Initialized task plugin instance: DEPENDENT successfully
[INFO] 2024-06-14 02:58:57.074 + 0000-Initialize taskVarPool: null successfully
[INFO] 2024-06-14 02:58:57.074 +0000 - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
[the INFO] 2024-06-14 02:58:57. 074 + 0000 - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * the Execute a task instance * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
[INFO] 2024-06-14 02:58:57.074 +0000 - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
[INFO] 2024-06-14 02:58:57.075 +0000 - Begin to initialize dependent task list
[INFO] 2024-06-14 02:58:57.078 +0000 - Add dependent task:
[INFO] 2024-06-14 02:58:57.078 +0000 - DependentRelation: AND
[INFO] 2024-06-14 02:58:57.079 + 0000-ProjectName: data-sync
[INFO] 2024-06-14 02:58:57.079 + 0000-WorkflowName: A-data-sync
[INFO] 2024-06-14 02:58:57.079 + 0000-DependentKey: xxxxxxx-0-day-today
[INFO] 2024-06-14 02:58:57.079 +0000 - Initialized dependent task list
[INFO] 2024-06-14 02:58:57.079 +0000 - Initialized dependent task list successfully

This is where it ends. There's no log

What you expected to happen

I look forward to the completion of this task, not pending.

How to reproduce

just create a depent task

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions