Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

同一个子任务ID会导致覆盖, #20

Closed
hadoop835 opened this issue Jan 5, 2023 · 3 comments
Closed

同一个子任务ID会导致覆盖, #20

hadoop835 opened this issue Jan 5, 2023 · 3 comments

Comments

@hadoop835
Copy link

hadoop835 commented Jan 5, 2023

image
image
image

@clsaa
Copy link
Collaborator

clsaa commented Jan 6, 2023

没太明白问题是? subTaskProgressMap里存的就是子任务最新的状态,后续再根据subTaskProgressMap里子任务的状态判断主任务什么时候应该reduce

@hadoop835
Copy link
Author

@clsaa
image
你看一下这个逻辑,只有子任务完成subTaskProgress.getIsFinished()才是true。其他都是false。会导致map的key相同被覆盖

@clsaa
Copy link
Collaborator

clsaa commented Jan 29, 2023

此问题应该被修复了,由于任务状态事件是无序的,原本有个逻辑会导致 子任务被改为finished状态后又被覆盖为executing状态。最终导致判断失败。目前此问题已修复

@clsaa clsaa closed this as completed Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants