You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Mekhanikov (JIRA)" <ji...@apache.org> on 2017/11/08 12:40:00 UTC

[jira] [Updated] (IGNITE-6369) 2.11 Spark integration has a dependency on Spark's 2.10 library

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

Denis Mekhanikov updated IGNITE-6369:
-------------------------------------
    Fix Version/s: 2.4

> 2.11 Spark integration has a dependency on Spark's 2.10 library
> ---------------------------------------------------------------
>
>                 Key: IGNITE-6369
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6369
>             Project: Ignite
>          Issue Type: Bug
>          Components: spark
>            Reporter: Hubert Plociniczak
>            Assignee: Denis Mekhanikov
>             Fix For: 2.4
>
>
> A simple Spark application that uses both Spark and Ignite fails to compile in sbt under 2.11 due to conflicting dependencies. For a simple sbt definition with:
> {code}
> libraryDependencies += "org.apache.spark" %% "spark-core" % "2.1.0" 
> libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.1.0" 
> libraryDependencies += "org.apache.ignite" % "ignite-spark" % "2.1.0"
> {code}
> it will fail to compile with: 
> {code}
> [error] Modules were resolved with conflicting cross-version suffixes in: 
> [error]    org.scalatest:scalatest _2.11, _2.10 
> [error]    com.twitter:chill _2.11, _2.10 
> [error]    org.apache.spark:spark-unsafe _2.11, _2.10 
> [error]    org.apache.spark:spark-tags _2.11, _2.10 
> [trace] Stack trace suppressed: run 'last *:update' for the full output. 
> {code}
> It looks like a single culprit is the entry in ignite-spark's pom.xml for
> {{spark-unsafe_2.10}}.
> When removed, compiled and published, everything works great.
> I don't see why such an entry exists in {{spark}} module when there is a separate {{spark-2.10}} module as well.
> Happy to submit a PR if anyone is willing to give a thumbs up.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)