You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takeshi Yamamuro (JIRA)" <ji...@apache.org> on 2019/03/23 00:48:00 UTC

[jira] [Commented] (SPARK-27251) @volatile var cannot be defined in case class in Scala 2.11

    [ https://issues.apache.org/jira/browse/SPARK-27251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799469#comment-16799469 ] 

Takeshi Yamamuro commented on SPARK-27251:
------------------------------------------

@volatile var cannot be defined in case class in Scala 2.11: https://github.com/scala/scala/pull/5294

I'm fixing in https://github.com/apache/spark/pull/24178

> @volatile var cannot be defined in case class in Scala 2.11
> -----------------------------------------------------------
>
>                 Key: SPARK-27251
>                 URL: https://issues.apache.org/jira/browse/SPARK-27251
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: John Zhuge
>            Priority: Minor
>
> https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/507/consoleFull
> {noformat}
> [info] Compiling 371 Scala sources and 102 Java sources to /home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/sql/core/target/scala-2.11/classes...
> [error] /home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala:162: values cannot be volatile
> [error]     @volatile var statsOfPlanToCache: Statistics)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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