You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Darcy Shen (JIRA)" <ji...@apache.org> on 2018/09/01 14:46:00 UTC
[jira] [Commented] (SPARK-25298) spark-tools build failure for
Scala 2.12
[ https://issues.apache.org/jira/browse/SPARK-25298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16599651#comment-16599651 ]
Darcy Shen commented on SPARK-25298:
------------------------------------
sbt -Dscala-2.12 -Dscala.version=2.12.6
This is the solution, we should document it or improve the build definition.
> spark-tools build failure for Scala 2.12
> ----------------------------------------
>
> Key: SPARK-25298
> URL: https://issues.apache.org/jira/browse/SPARK-25298
> Project: Spark
> Issue Type: Sub-task
> Components: Build
> Affects Versions: 2.4.0
> Reporter: Darcy Shen
> Priority: Major
>
> $ sbt--
> > ++ 2.12.6
> > compile
>
> [error] /Users/rendong/wdi/spark/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala:22: object runtime is not a member of package reflect
> [error] import scala.reflect.runtime.\{universe => unv}
> [error] ^
> [error] /Users/rendong/wdi/spark/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala:23: object runtime is not a member of package reflect
> [error] import scala.reflect.runtime.universe.runtimeMirror
> [error] ^
> [error] /Users/rendong/wdi/spark/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala:41: not found: value runtimeMirror
> [error] private val mirror = runtimeMirror(classLoader)
> [error] ^
> [error] /Users/rendong/wdi/spark/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala:43: not found: value unv
> [error] private def isPackagePrivate(sym: unv.Symbol) =
--
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