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?

#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 #16943 from dongjoon-hyun/SPARK-19607-2.
  • Loading branch information
dongjoon-hyun authored and rxin committed Feb 15, 2017
1 parent 3755da7 commit 59dc26e
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 59dc26e

Please sign in to comment.