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

Scala 2.11 maven compile should target Java 1.8

    XMLWordPrintableJSON

Details

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

    Description

      Discovered by https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/509/console:

      [error] /home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/sql/catalyst/src/main/scala/org/apache/spark/sql/catalog/v2/LookupCatalog.scala:40: Static methods in interface require -target:jvm-1.8
       [error] (None, Identifier.of(Array.empty, name))
       [error] ^
       [error] /home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/sql/catalyst/src/main/scala/org/apache/spark/sql/catalog/v2/LookupCatalog.scala:44: Static methods in interface require -target:jvm-1.8
       [error] (Some(catalog), Identifier.of(tail.init.toArray, tail.last))
       [error] ^
       [error] /home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/sql/catalyst/src/main/scala/org/apache/spark/sql/catalog/v2/LookupCatalog.scala:47: Static methods in interface require -target:jvm-1.8
       [error] (None, Identifier.of(parts.init.toArray, parts.last))
       [error] ^
       [error] three errors found
       [error] Compile failed at Mar 22, 2019 2:10:52 AM [42.688s]
      

      Attachments

        Issue Links

          Activity

            People

              jzhuge John Zhuge
              jzhuge John Zhuge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: