dinky icon indicating copy to clipboard operation
dinky copied to clipboard

[Bug] [DolphinSchduler] Flink Job success but Dinky return'Unknow' status

Open archibald-nice opened this issue 3 years ago • 3 comments

Search before asking

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

What happened

Every time I run multiple tasks from DS, I always have the following problems with some tasks:

  • Flink Web UI shows the job runs successful
  • Dinky Operating center shows the job 'Unknow'[?未知]

Thus, DS thought the mission had failed.

Logs like:

...
[INFO] 2023-03-06 07:58:58.465 +0000 - dinky task succeed with results: {"datas":{"id":504,"tenantId":1,"name":"b_mp_stock_snapshot","taskId":111,"step":5,"clusterId":1,"jid":"9ade253d55dde74c2806475c2b763dd1","status":"UNKNOWN","historyId":773,"error":null,"createTime":"2023-03-06 15:56:43","updateTime":"2023-03-06 15:58:56","finishTime":"2023-03-06 15:58:56","duration":134,"failedRestartCount":null,"type":null,"clusterAlias":null,"jobManagerAddress":null},"code":0,"msg":"获取成功","time":"2023-03-06 15:58:58"}
[ERROR] 2023-03-06 07:58:58.465 +0000 - dinky task submit failed with error: null
[INFO] 2023-03-06 07:58:58.466 +0000 - Send task execute result to master, the current task status: TaskExecutionStatus{code=6, desc='failure'}
[INFO] 2023-03-06 07:58:58.466 +0000 - Remove the current task execute context from worker cache
...

What you expected to happen

Flink and Dinky have the same conclusion, that is, Dinky can get the result of Flink Job correctly.

How to reproduce

  1. Dinky 0.7.2 on Local Mode with MySQL metastore.
  2. Flink 1.15.3 on Standalone Mode. (1M+3S)
  3. Several simple batch jobs such as 'insert into select * from xxx'.

Anything else

No response

Version

0.7.0

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

archibald-nice avatar Mar 06 '23 08:03 archibald-nice

Please contact me through WeChat.

aiwenmo avatar Mar 06 '23 11:03 aiwenmo

@aiwenmo OK

archibald-nice avatar Mar 06 '23 11:03 archibald-nice

@aiwenmo It was solved by rebuilding code with #1716 ! Thanks a ton! 😄

archibald-nice avatar Mar 07 '23 06:03 archibald-nice