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

[jira] [Resolved] (SPARK-27250) Scala 2.11 maven compile should target Java 1.8

     [ https://issues.apache.org/jira/browse/SPARK-27250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-27250.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 24184
[https://github.com/apache/spark/pull/24184]

> Scala 2.11 maven compile should target Java 1.8
> -----------------------------------------------
>
>                 Key: SPARK-27250
>                 URL: https://issues.apache.org/jira/browse/SPARK-27250
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> 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:
> {noformat}
> [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]
> {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