Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27251

@volatile var cannot be defined in case class in Scala 2.11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Build, SQL
    • None

    Description

      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

      [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)
      

      Attachments

        Issue Links

          Activity

            People

              maropu Takeshi Yamamuro
              jzhuge John Zhuge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: