GitHub user andrewor14 opened a pull request:
https://github.com/apache/spark/pull/13031
[SPARK-15037][HOTFIX] Don't create 2 SparkSessions in constructor
## What changes were proposed in this pull request?
After #12907 `TestSparkSession` creates a spark session in one of the
constructors just to get the `SparkContext` from it. This ends up creating 2
`SparkSession`s from one call, which is definitely not what we want.
## How was this patch tested?
Jenkins.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewor14/spark sql-test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13031.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 #13031
----
commit 9c75e5660b93a30e623839a0d92190f8945ffab6
Author: Andrew Or <[email protected]>
Date: 2016-05-10T18:49:37Z
Don't create 2 SparkSessions
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]