dinky
dinky copied to clipboard
[Bug] [DolphinSchduler] Flink Job success but Dinky return'Unknow' status
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
- Dinky 0.7.2 on Local Mode with MySQL metastore.
- Flink 1.15.3 on Standalone Mode. (1M+3S)
- 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
- [X] I agree to follow this project's Code of Conduct
Please contact me through WeChat.
@aiwenmo OK
@aiwenmo It was solved by rebuilding code with #1716 ! Thanks a ton! 😄