diff options
author | Ala Luszczak <ala@databricks.com> | 2017-02-10 21:10:02 +0100 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2017-02-10 21:10:02 +0100 |
commit | d785217b791882e075ad537852d49d78fc1ca31b (patch) | |
tree | fbfb20bdc0098918327080e7dca2d88feedd6d7f /docs/ml-migration-guides.md | |
parent | 3a43ae7c0bbce8eda98f50a97a0138f860197a98 (diff) | |
download | spark-d785217b791882e075ad537852d49d78fc1ca31b.tar.gz spark-d785217b791882e075ad537852d49d78fc1ca31b.tar.bz2 spark-d785217b791882e075ad537852d49d78fc1ca31b.zip |
[SPARK-19549] Allow providing reason for stage/job cancelling
## What changes were proposed in this pull request?
This change add an optional argument to `SparkContext.cancelStage()` and `SparkContext.cancelJob()` functions, which allows the caller to provide exact reason for the cancellation.
## How was this patch tested?
Adds unit test.
Author: Ala Luszczak <ala@databricks.com>
Closes #16887 from ala/cancel.
Diffstat (limited to 'docs/ml-migration-guides.md')
0 files changed, 0 insertions, 0 deletions