-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-2567] Resubmitted stage sometimes remains as active stage in the web UI #1516
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
Conversation
…he web UI Moved the line which post SparkListenerStageSubmitted to the back of check of tasks size and serializability.
Can one of the admins verify this patch? |
How does this affect the final UI ? |
You can see the screenshot which the original code generated in the JIRA. |
This appears to be a reversion of d58502a while ignoring and misapplying the comment regarding ordering (which I'm not completely understanding.) |
Hmm... I didn't notice it. |
Actually I aim to fix this in #1545 |
The test totally succeeded again. |
Hi @rxin, thank you for following this ticket but couldn't we separate those problems into different PRs? SPARK-2298 is not about this problem. |
Actually the fix looks good. |
Jenkins, test this please. |
QA tests have started for PR 1516. This patch merges cleanly. |
QA results for PR 1516: |
I looked into this a bit more and this change doesn't quite fix the problem in the right way, partially because of what @markhamstra pointed out (that we shouldn't send a SparkListenerStageCompleted event before sending a corresponding SparkListenerStageSubmitted event, which is I think what the mysterious comment was getting at) and partially because the bigger underlying problem here is that runningStages isn't updated at the right time (which also leads to a memory leak). I submitted an alternate fix here: #1566 -- let me know what you all think. |
SPARK-2567 is resolved by #1566. |
Moved the line which post SparkListenerStageSubmitted to the back of check of tasks size and serializability.