Skip to content

[SPARK-16748][SQL] SparkExceptions during planning should not wrapped in TreeNodeException - #14395

Closed
tdas wants to merge 2 commits into
apache:masterfrom
tdas:SPARK-16748
Closed

[SPARK-16748][SQL] SparkExceptions during planning should not wrapped in TreeNodeException#14395
tdas wants to merge 2 commits into
apache:masterfrom
tdas:SPARK-16748

Conversation

@tdas

@tdastdas commented Jul 29, 2016

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

We do not want SparkExceptions from job failures in the planning phase to create TreeNodeException. Hence do not wrap SparkException in TreeNodeException.

How was this patch tested?

New unit test

@tdas

tdas commented Jul 29, 2016

Copy link
Copy Markdown
ContributorAuthor

@marmbrus@yhuai

@SparkQA

Copy link
Copy Markdown

Test build #62991 has finished for PR 14395 at commit ab5120f.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA

Copy link
Copy Markdown

Test build #62996 has finished for PR 14395 at commit 91625fd.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

import org.apache.spark.{AccumulatorSuite, SparkException}

@tdas

tdas commented Jul 29, 2016

Copy link
Copy Markdown
ContributorAuthor

jenkins, test this.

@yhuai

Copy link
Copy Markdown
Contributor

seems jenkins is down?

@yhuai

Copy link
Copy Markdown
Contributor

this this please

@SparkQA

Copy link
Copy Markdown

Test build #3198 has finished for PR 14395 at commit ee16b2c.

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

@yhuai

Copy link
Copy Markdown
Contributor

LGTM. Merging to master and branch 2.0.

asfgit pushed a commit that referenced this pull request Jul 30, 2016
… in TreeNodeException
## What changes were proposed in this pull request?
We do not want SparkExceptions from job failures in the planning phase to create TreeNodeException. Hence do not wrap SparkException in TreeNodeException.
## How was this patch tested?
New unit test
Author: Tathagata Das <tathagata.das1565@gmail.com>
Closes#14395 from tdas/SPARK-16748.
(cherry picked from commit bbc2475)
Signed-off-by: Yin Huai <yhuai@databricks.com>
Sign up for freeto 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.

3 participants

@tdas@SparkQA@yhuai