Repository: spark
Updated Branches:
  refs/heads/master d2614eaad -> f87092181


[HOTFIX] Fix the problem for real this time.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f8709218
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f8709218
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f8709218

Branch: refs/heads/master
Commit: f8709218115f6c7aa4fb321865cdef8ceb443bd1
Parents: d2614ea
Author: Reynold Xin <[email protected]>
Authored: Mon Apr 25 21:38:01 2016 -0700
Committer: Reynold Xin <[email protected]>
Committed: Mon Apr 25 21:38:01 2016 -0700

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/hive/HiveContext.scala     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/f8709218/sql/hivecontext-compatibility/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
----------------------------------------------------------------------
diff --git 
a/sql/hivecontext-compatibility/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
 
b/sql/hivecontext-compatibility/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
index bb76897..aa0485a 100644
--- 
a/sql/hivecontext-compatibility/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
+++ 
b/sql/hivecontext-compatibility/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
@@ -29,9 +29,9 @@ import org.apache.spark.sql.{SparkSession, SQLContext}
  */
 @deprecated("Use SparkSession.withHiveSupport instead", "2.0.0")
 class HiveContext private[hive](
-    sparkSession: SparkSession,
+    _sparkSession: SparkSession,
     isRootContext: Boolean)
-  extends SQLContext(sparkSession, isRootContext) with Logging {
+  extends SQLContext(_sparkSession, isRootContext) with Logging {
 
   self =>
 
@@ -47,15 +47,15 @@ class HiveContext private[hive](
    * and Hive client (both of execution and metadata) with existing 
HiveContext.
    */
   override def newSession(): HiveContext = {
-    new HiveContext(super.sparkSession.newSession(), isRootContext = false)
+    new HiveContext(sparkSession.newSession(), isRootContext = false)
   }
 
   protected[sql] override def sessionState: HiveSessionState = {
-    super.sparkSession.sessionState.asInstanceOf[HiveSessionState]
+    sparkSession.sessionState.asInstanceOf[HiveSessionState]
   }
 
   protected[sql] override def sharedState: HiveSharedState = {
-    super.sparkSession.sharedState.asInstanceOf[HiveSharedState]
+    sparkSession.sharedState.asInstanceOf[HiveSharedState]
   }
 
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to