ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pradeepchanumolu <pradeepb...@gmail.com>
Subject Conflicting cross-version suffixes in: org.scalatest:scalatest, com.twitter:chill, org.apache.spark:spark-unsafe, org.apache.spark:spark-tags
Date Tue, 19 Sep 2017 20:00:44 GMT
I am hitting this error when I add ignite-spark 2.2.0 artifact to by project.

[error] Modules were resolved with conflicting cross-version suffixes in
{file://ignite-poc/}ignite-poc:
[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
java.lang.RuntimeException: Conflicting cross-version suffixes in:
org.scalatest:scalatest, com.twitter:chill, org.apache.spark:spark-unsafe,
org.apache.spark:spark-tags
        at scala.sys.package$.error(package.scala:27)
        at
sbt.ConflictWarning$.processCrossVersioned(ConflictWarning.scala:46)
        at sbt.ConflictWarning$.apply(ConflictWarning.scala:32)
        at sbt.Classpaths$$anonfun$100.apply(Defaults.scala:1300)
        at sbt.Classpaths$$anonfun$100.apply(Defaults.scala:1297)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at
sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at
sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at
sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at
sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
[error] (*:update) Conflicting cross-version suffixes in:
org.scalatest:scalatest, com.twitter:chill, org.apache.spark:spark-unsafe,
org.apache.spark:spark-tags


After looking at the dependency graph, looks like ignite-spark is depending
on both spark-tags_2.10 and spark-tags_2.11. 

[info]     | +-org.apache.spark:spark-tags_2.11:2.1.0
[info]     | | +-org.scalatest:scalatest_2.11:2.2.6 [S]
[info]     | | | +-org.scala-lang.modules:scala-xml_2.11:1.0.2 [S] (evicted
by: 1.0.6)
[info]     | | | +-org.scala-lang.modules:scala-xml_2.11:1.0.6 [S]
[info]     | | | +-org.scala-lang:scala-reflect:2.11.8 [S]
[info]     | | |
[info]     | | +-org.spark-project.spark:unused:1.0.0
[info]     | |
[info]     | +-org.spark-project.spark:unused:1.0.0
[info]     |
[info]     +-org.apache.spark:spark-tags_2.11:2.1.0
[info]     | +-org.scalatest:scalatest_2.11:2.2.6 [S]
[info]     | | +-org.scala-lang.modules:scala-xml_2.11:1.0.2 [S] (evicted
by: 1.0.6)
[info]     | | +-org.scala-lang.modules:scala-xml_2.11:1.0.6 [S]
[info]     | | +-org.scala-lang:scala-reflect:2.11.8 [S]
[info]     | |
[info]     | +-org.spark-project.spark:unused:1.0.0
[info]     |
[info]     +-org.apache.spark:spark-unsafe_2.10:2.1.0
[info]     | +-com.google.code.findbugs:jsr305:1.3.9
[info]     | +-com.twitter:chill_2.10:0.8.0 [S]
[info]     | | +-com.esotericsoftware:kryo-shaded:3.0.3
[info]     | | | +-com.esotericsoftware:minlog:1.3.0
[info]     | | | +-org.objenesis:objenesis:2.1
[info]     | | |
[info]     | | +-com.twitter:chill-java:0.8.0
[info]     | |   +-com.esotericsoftware:kryo-shaded:3.0.3
[info]     | |     +-com.esotericsoftware:minlog:1.3.0
[info]     | |     +-org.objenesis:objenesis:2.1
[info]     | |
[info]     | +-org.apache.spark:spark-tags_2.10:2.1.0
[info]     | | +-org.scalatest:scalatest_2.10:2.2.6 [S]
[info]     | | | +-org.scala-lang:scala-reflect:2.11.8 [S]
[info]     | | |
[info]     | | +-org.spark-project.spark:unused:1.0.0
[info]     | |
[info]     | +-org.spark-project.spark:unused:1.0.0

Can someone look into this problem?






--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Mime
View raw message