GitHub user andrewor14 opened a pull request: https://github.com/apache/spark/pull/12405
[SPARK-14647][SQL] Group SQLContext/HiveContext state into PersistentState ## What changes were proposed in this pull request? This patch adds a `PersistentState` that groups state shared across multiple `SQLContext`s. 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? Just refactoring. You can merge this pull request into a Git repository by running: $ git pull https://github.com/andrewor14/spark persistent-state Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/12405.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 #12405 ---- commit b03ea772e3f3d3f9a410eea5a0303f957ba3f8d2 Author: Andrew Or <and...@databricks.com> Date: 2016-04-15T00:47:39Z Group SQLContext constructor args into PersistentState commit 2f5053ca9f5b5caa10cf64c7f103cd3cfc4e0797 Author: Andrew Or <and...@databricks.com> Date: 2016-04-15T00:54:51Z Move the HiveClient's into SessionState ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org