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

[SPARK-19807][Web UI]Add reason for cancellation when a stage is killed using web UI #17258

Closed
wants to merge 2 commits into from

Conversation

shaolinliu
Copy link

What changes were proposed in this pull request?

When a user kills a stage using web UI (in Stages page), StagesTab.handleKillRequest requests SparkContext to cancel the stage without giving a reason. SparkContext has cancelStage(stageId: Int, reason: String) that Spark could use to pass the information for monitoring/debugging purposes.

How was this patch tested?

manual tests

Please review http://spark.apache.org/contributing.html before opening a pull request.

@ajbozarth
Copy link
Member

Thanks, I like this change but I think the reason string could be simpler, like "killed via the Web UI"

@shaolinliu
Copy link
Author

Thank you for the advice, your result description seems simpler and more appropriate. And I have pushed the change to the PR.

Copy link
Member

@ajbozarth ajbozarth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ajbozarth
Copy link
Member

@srowen Noticed this never got picked up by comitter

@SparkQA
Copy link

SparkQA commented Apr 5, 2017

Test build #3638 has started for PR 17258 at commit 6f780b0.

@SparkQA
Copy link

SparkQA commented Apr 5, 2017

Test build #3639 has finished for PR 17258 at commit 6f780b0.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Apr 5, 2017

Test build #3640 has finished for PR 17258 at commit 6f780b0.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Apr 5, 2017

Merged to master

@asfgit asfgit closed this in 71c3c48 Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants