diff options
author | Andrew Or <andrew@databricks.com> | 2016-02-27 19:51:28 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-02-27 19:51:28 -0800 |
commit | cca79fad66c4315b0ed6de59fd87700a540e6646 (patch) | |
tree | ca305c4e716f0138e1130bc7d6ab3a5bcf3928cf /project | |
parent | 4c5e968db23db41c0bea802819ebd75fad63bc2b (diff) | |
download | spark-cca79fad66c4315b0ed6de59fd87700a540e6646.tar.gz spark-cca79fad66c4315b0ed6de59fd87700a540e6646.tar.bz2 spark-cca79fad66c4315b0ed6de59fd87700a540e6646.zip |
[SPARK-13526][SQL] Move SQLContext per-session states to new class
## What changes were proposed in this pull request?
This creates a `SessionState`, which groups a few fields that existed in `SQLContext`. Because `HiveContext` extends `SQLContext` we also need to make changes there. This is mainly a cleanup task that will soon pave the way for merging the two contexts.
## How was this patch tested?
Existing unit tests; this patch introduces no change in behavior.
Author: Andrew Or <andrew@databricks.com>
Closes #11405 from andrewor14/refactor-session.
Diffstat (limited to 'project')
-rw-r--r-- | project/MimaExcludes.scala | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index 165280a1b2..9ce37fc753 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -271,13 +271,18 @@ object MimaExcludes { ) ++ Seq( // SPARK-13220 Deprecate yarn-client and yarn-cluster mode ProblemFilters.exclude[MissingMethodProblem]( - "org.apache.spark.SparkContext.org$apache$spark$SparkContext$$createTaskScheduler"), + "org.apache.spark.SparkContext.org$apache$spark$SparkContext$$createTaskScheduler") + ) ++ Seq( // SPARK-13465 TaskContext. ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.TaskContext.addTaskFailureListener") ) ++ Seq ( // SPARK-7729 Executor which has been killed should also be displayed on Executor Tab ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.status.api.v1.ExecutorSummary.this") ) ++ Seq( + // SPARK-13526 Move SQLContext per-session states to new class + ProblemFilters.exclude[IncompatibleMethTypeProblem]( + "org.apache.spark.sql.UDFRegistration.this") + ) ++ Seq( // [SPARK-13486][SQL] Move SQLConf into an internal package ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.SQLConf"), ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.SQLConf$SQLConfEntry"), |