Skip to content

Commit

Permalink
[SPARK-19607][HOTFIX] Finding QueryExecution that matches provided ex…
Browse files Browse the repository at this point in the history
…ecutionId

## What changes were proposed in this pull request?

This is a backport of apache@59dc26e

apache#16940 adds a test case which does not stop the spark job. It causes many failures of other test cases.

- https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-sbt-hadoop-2.7/2403/consoleFull
- https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.7/2600/consoleFull

```
[info]   org.apache.spark.SparkException: Only one SparkContext may be running in this JVM (see SPARK-2243). To ignore this error, set spark.driver.allowMultipleContexts = true. The currently running SparkContext was created at:
```

## How was this patch tested?

Pass the Jenkins test.

Author: Dongjoon Hyun <[email protected]>

Closes apache#234 from ala/execution-id-fix.
  • Loading branch information
dongjoon-hyun authored and hvanhovell committed Feb 16, 2017
1 parent cbbb910 commit fa4fca9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ class SQLExecutionSuite extends SparkFunSuite {
df.collect()

assert(df.queryExecution === queryExecution)

spark.stop()
}
}

Expand Down

0 comments on commit fa4fca9

Please sign in to comment.