Skip to content

Conversation

@ericl
Copy link
Contributor

@ericl ericl commented Apr 19, 2017

What changes were proposed in this pull request?

https://issues.apache.org/jira/browse/SPARK-19820 adds a reason field for why tasks were killed. However, for backwards compatibility it left the old TaskKilledException constructor which defaults to "unknown reason".
The range() operator should use the constructor that fills in the reason rather than dropping it on task kill.

How was this patch tested?

Existing tests, and I tested this manually.

@SparkQA
Copy link

SparkQA commented Apr 20, 2017

Test build #75959 has finished for PR 17692 at commit a690a63.

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

@rxin
Copy link
Contributor

rxin commented Apr 20, 2017

Merging in master/branch-2.2.

asfgit pushed a commit that referenced this pull request Apr 20, 2017
…n when killed

## What changes were proposed in this pull request?

https://issues.apache.org/jira/browse/SPARK-19820 adds a reason field for why tasks were killed. However, for backwards compatibility it left the old TaskKilledException constructor which defaults to "unknown reason".
The range() operator should use the constructor that fills in the reason rather than dropping it on task kill.

## How was this patch tested?

Existing tests, and I tested this manually.

Author: Eric Liang <[email protected]>

Closes #17692 from ericl/fix-kill-reason-in-range.

(cherry picked from commit dd6d55d)
Signed-off-by: Reynold Xin <[email protected]>
@asfgit asfgit closed this in dd6d55d Apr 20, 2017
peter-toth pushed a commit to peter-toth/spark that referenced this pull request Oct 6, 2018
…n when killed

## What changes were proposed in this pull request?

https://issues.apache.org/jira/browse/SPARK-19820 adds a reason field for why tasks were killed. However, for backwards compatibility it left the old TaskKilledException constructor which defaults to "unknown reason".
The range() operator should use the constructor that fills in the reason rather than dropping it on task kill.

## How was this patch tested?

Existing tests, and I tested this manually.

Author: Eric Liang <[email protected]>

Closes apache#17692 from ericl/fix-kill-reason-in-range.
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

Successfully merging this pull request may close these issues.

4 participants