apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.4k stars 4.49k forks source link

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

Open ahululu opened 2 weeks ago

ahululu commented 2 weeks ago

Search before asking

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?

Code of Conduct

ruanwenjun commented 2 weeks ago

Is there any log in master?

qazjiangchuan commented 5 days ago

Is there any log in master?

I found error logs on the master server.

image
ruanwenjun commented 5 days ago

Is there any log in master?

I found error logs on the master server. image

which version are you use, is this can reproduce? seems your miss some libs.

qazjiangchuan commented 4 days ago

Is there any log in master?

I found error logs on the master server. image

which version are you use, is this can reproduce? seems your miss some libs.

used v3.2.1 ,and It is deployed in Pseudo-Cluster mode.