GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/19306
[SPARK-21977][HOTFIX] Adjust EnsureStatefulOpPartitioningSuite to use
scalatest lifecycle normally instead of constructor
## What changes were proposed in this pull request?
Adjust EnsureStatefulOpPartitioningSuite to use scalatest lifecycle
normally instead of constructor; fixes:
```
*** RUN ABORTED ***
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:
org.apache.spark.sql.streaming.EnsureStatefulOpPartitioningSuite.<init>(EnsureStatefulOpPartitioningSuite.scala:35)
```
## How was this patch tested?
Existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-21977.2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19306.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19306
----
commit af017f063ad5c7435366aacf2d58f29b1a2e143b
Author: Sean Owen <[email protected]>
Date: 2017-09-21T10:53:34Z
Adjust EnsureStatefulOpPartitioningSuite to use scalatest lifecycle
normally instead of constructor
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]