Repository: spark
Updated Branches:
  refs/heads/master 3755da76c -> 59dc26e37


[SPARK-19607][HOTFIX] Finding QueryExecution that matches provided executionId

## 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 <dongj...@apache.org>

Closes #16943 from dongjoon-hyun/SPARK-19607-2.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/59dc26e3
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/59dc26e3
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/59dc26e3

Branch: refs/heads/master
Commit: 59dc26e378c5960a955ad238fdf1c9745c732c8a
Parents: 3755da7
Author: Dongjoon Hyun <dongj...@apache.org>
Authored: Wed Feb 15 21:57:49 2017 +0100
Committer: Reynold Xin <r...@databricks.com>
Committed: Wed Feb 15 21:57:49 2017 +0100

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/execution/SQLExecutionSuite.scala   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/59dc26e3/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLExecutionSuite.scala
----------------------------------------------------------------------
diff --git 
a/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLExecutionSuite.scala
 
b/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLExecutionSuite.scala
index b059706..fe78a76 100644
--- 
a/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLExecutionSuite.scala
+++ 
b/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLExecutionSuite.scala
@@ -129,6 +129,8 @@ class SQLExecutionSuite extends SparkFunSuite {
     df.collect()
 
     assert(df.queryExecution === queryExecution)
+
+    spark.stop()
   }
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to