You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Jacek Laskowski <ja...@japila.pl> on 2016/04/26 06:58:37 UTC

Re: spark git commit: [HOTFIX] Fix the problem for real this time.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:53 min
[INFO] Finished at: 2016-04-26T06:56:49+02:00
[INFO] Final Memory: 107M/890M
[INFO] ------------------------------------------------------------------------

Thanks Reynold! :)

Pozdrawiam,
Jacek Laskowski
----
https://medium.com/@jaceklaskowski/
Mastering Apache Spark http://bit.ly/mastering-apache-spark
Follow me at https://twitter.com/jaceklaskowski


On Tue, Apr 26, 2016 at 6:38 AM,  <rx...@apache.org> wrote:
> 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 <rx...@databricks.com>
> Authored: Mon Apr 25 21:38:01 2016 -0700
> Committer: Reynold Xin <rx...@databricks.com>
> 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: commits-unsubscribe@spark.apache.org
> For additional commands, e-mail: commits-help@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org