Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-26 Thread Stephan Ewen
Hi Cory, there is also a new release candidate which should be clean dependency wise. I hope it is feasible for you to stay on stable versions. The CI infrastructure still seems to have issues that mix Scala versions between snapshot builds. We are looking into this... Stephan On Wed, Feb 24,

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-24 Thread Till Rohrmann
I just tested building a Flink job using the latest SNAPSHOT version and the flink-connector-kafka-0.8/flink-connector-kafka-0.9 Kafka connector. The compilation succeeded with SBT. Could you maybe share your build.sbt with me. This would help me to figure out the problem you’re experiencing. Che

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-24 Thread Cory Monty
What Dan posted on 2/22 is the current error we're seeing. As he stated, using the 1.0.0-rc0 version works, but switching back to SNAPSHOT does not compile. We can try clearing the ivy cache, but that has had no affect in the past. On Wed, Feb 24, 2016 at 11:34 AM, Till Rohrmann wrote: > What is

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-24 Thread Till Rohrmann
What is currently the error you observe? It might help to clear org.apache.flink in the ivy cache once in a while. Cheers, Till On Wed, Feb 24, 2016 at 6:09 PM, Cory Monty wrote: > We're still seeing this issue in the latest SNAPSHOT version. Do you have > any suggestions to resolve the error?

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-24 Thread Cory Monty
We're still seeing this issue in the latest SNAPSHOT version. Do you have any suggestions to resolve the error? On Mon, Feb 22, 2016 at 3:41 PM, Dan Kee wrote: > Hello, > > I'm not sure if this related, but we recently started seeing this when > using `1.0-SNAPSHOT` in the `snapshots` repository

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-22 Thread Dan Kee
Hello, I'm not sure if this related, but we recently started seeing this when using `1.0-SNAPSHOT` in the `snapshots` repository: [error] Modules were resolved with conflicting cross-version suffixes in {file:/home/ubuntu/bt/}flinkproject: [error]org.apache.kafka:kafka _2.10, _2.11 java.lang.

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-12 Thread Cory Monty
Thanks, Stephan. Everything is back to normal for us. Cheers, Cory On Fri, Feb 12, 2016 at 6:54 AM, Stephan Ewen wrote: > Hi Cory! > > We found the problem. There is a development fork of Flink for Stream SQL, > whose CI infrastructure accidentally also deployed snapshots and overwrote > some

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-12 Thread Stephan Ewen
Hi Cory! We found the problem. There is a development fork of Flink for Stream SQL, whose CI infrastructure accidentally also deployed snapshots and overwrote some of the proper master branch snapshots. That's why the snapshots got inconsistent. We fixed that, and newer snapshots should be online

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-11 Thread Stephan Ewen
Hi! The CI system has just finished uploading an new snapshot. In that one, the scalatest dependency is now correctly at 2.11 again. https://repository.apache.org/content/repositories/snapshots/org/apache/flink/flink-test-utils_2.11/1.0-SNAPSHOT/flink-test-utils_2.11-1.0-20160211.232156-288.pom

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-11 Thread Stephan Ewen
Hi! I examined the Apache Snapshot Repository, and I could see that in the latest snapshot a "scalatest_2.10" version was introduced. I could not figure out how, yet. I could not find a "flink-core_2.10" or "flink-annotations_2.10" dependency, yet. Previous snapshot: https://repository.apache.or

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-11 Thread Cory Monty
Ufuk, Thanks for the link. I've double-checked everything in our dependencies list and it's all correct. Stephan, We don't explicitly depend on "flink-java", so there should be no suffix. It's curious, to me, that scalatest is showing in the stack trace. I also tried clearing ~/.sbt/staging and

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-11 Thread Stephan Ewen
Hi Cory! Hmmm, curios... I just double check the code, there are no more references to a Scala-versioned "flink-core" and "flink-annotations" project in the code base. The projects you use with Scala version suffix look good, actually. Just to be safe, can you check that the "flink-java" dependen

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-11 Thread Ufuk Celebi
> On 11 Feb 2016, at 22:24, Cory Monty wrote: > > Hmm. We don't explicitly include "flink-annotations" and we do not append the > Scala suffix for "flink-core": > > `"org.apache.flink" % "flink-core" % "1.0-SNAPSHOT"` > > Here are the packages we currently include with a Scala suffix: > > fl

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-11 Thread Cory Monty
Hmm. We don't explicitly include "flink-annotations" and we do not append the Scala suffix for "flink-core": `"org.apache.flink" % "flink-core" % "1.0-SNAPSHOT"` Here are the packages we currently include with a Scala suffix: flink-scala flink-clients flink-streaming-scala flink-connector-kafka-

Re: Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-11 Thread Stephan Ewen
Hi Cory! "flink-core" and "flink-annotations" should not have Scala suffixes, because they do not depend on Scala. So far, we mark the Scala independent projects without suffixes. Is that very confusing, or does that interfere with build tools? Greetings, Stephan On Thu, Feb 11, 2016 at 9:50 P

Compile issues with Flink 1.0-SNAPSHOT and Scala 2.11

2016-02-11 Thread Cory Monty
As of this afternoon, SBT is running into issues compiling with the following error: [error] Modules were resolved with conflicting cross-version suffixes in [error]org.scalatest:scalatest _2.10, _2.11 [error]org.apache.flink:flink-core _2.11, [error]org.apache.flink:flink-annotations