GitHub user yhuai opened a pull request:
https://github.com/apache/spark/pull/12463
[SPARK-14647][SQL] Group SQLContext/HiveContext state into SharedState
## What changes were proposed in this pull request?
This patch adds a SharedState that groups state shared across multiple
SQLContexts. This is analogous to the SessionState added in SPARK-13526 that
groups session-specific state. This cleanup makes the constructors of the
contexts simpler and ultimately allows us to remove HiveContext in the near
future.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yhuai/spark sharedState
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12463.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 #12463
----
commit fe35d4126daef2d5de04d982b62d744d3350b1dd
Author: Yin Huai <[email protected]>
Date: 2016-04-18T04:02:23Z
Revert "Revert "[SPARK-14647][SQL] Group SQLContext/HiveContext state into
SharedState""
This reverts commit 7de06a646dff7ede520d2e982ac0996d8c184650.
----
---
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]