Repository: spark Updated Branches: refs/heads/master 0733a54a4 -> 73f065569
[SPARK-19669][HOTFIX][SQL] sessionState access privileges compiled failed in TestSQLContext ## What changes were proposed in this pull request? In [SPARK-19669](https://github.com/apache/spark/commit/0733a54a4517b82291efed9ac7f7407d9044593c) change the sessionState access privileges from private to public, this lead to the compile failed in TestSQLContext this pr is a hotfix for this. ## How was this patch tested? N/A Author: windpiger <[email protected]> Closes #17008 from windpiger/hotfixcompile. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/73f06556 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/73f06556 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/73f06556 Branch: refs/heads/master Commit: 73f065569d352081b7d64c254af70ce996860c53 Parents: 0733a54 Author: windpiger <[email protected]> Authored: Mon Feb 20 19:20:23 2017 -0800 Committer: Xiao Li <[email protected]> Committed: Mon Feb 20 19:20:23 2017 -0800 ---------------------------------------------------------------------- .../src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/73f06556/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala ---------------------------------------------------------------------- diff --git a/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala b/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala index 2f247ca..8ab6db1 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala @@ -35,7 +35,7 @@ private[sql] class TestSparkSession(sc: SparkContext) extends SparkSession(sc) { } @transient - protected[sql] override lazy val sessionState: SessionState = new SessionState(self) { + override lazy val sessionState: SessionState = new SessionState(self) { override lazy val conf: SQLConf = { new SQLConf { clear() --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
