Hi Joe,

I am afraid your misread the article you are referring too. Scala 2.11 /compiles/ code that compiles with 2.10. Binary compatibility is only guaranteed between micro versions.

Kind regards,
    Erik.


Joe Stein schreef op 01-07-14 21:01:
Looping back around here (for posterity) I didn't update the ticket but
Scala 2.11 works with 2.10 binaries http://www.scala-lang.org/news/2.11.0

If there are issue folks can open a new JIRA please with specific issue as
it may not be related, thanks!

/*******************************************
  Joe Stein
  Founder, Principal Consultant
  Big Data Open Source Security LLC
  http://www.stealth.ly
  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
********************************************/


On Fri, May 30, 2014 at 3:13 AM, Laszlo Fogas <las...@falconsocial.com>
wrote:

cool.

thanks, Joe.


On Fri, May 30, 2014 at 6:54 AM, Joe Stein <joe.st...@stealth.ly> wrote:

It is possible that when I tried this ticket initially there was
something
environmental in my build process causing it to appear to work.

I reopened the ticket.

I will go back through it again on a few different environments and in
more
detail and post results either way.

/*******************************************
  Joe Stein
  Founder, Principal Consultant
  Big Data Open Source Security LLC
  http://www.stealth.ly
  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
********************************************/


On Thu, May 29, 2014 at 7:20 AM, Laszlo Fogas <las...@falconsocial.com>
wrote:

just simply tried artifact kafka_2.10:0.8.1.1 as suggested in
https://issues.apache.org/jira/browse/KAFKA-1454 but got the error
written
above


now I've cloned the repo and compiled with

./gradlew jar => success
./gradlew -PscalaVersion=2.10.0 jar => success
./gradlew -PscalaVersion=2.11.0 jar =>  FAILURE

both on trunk and 0.8.1.1 tag


the compile error is the same as here


https://github.com/davidB/scala-maven-plugin/issues/145#issuecomment-39189898
i've tried disabling zinc => got classpath errors at an other point
and upgrading zinc => had other version incompatibilities


Seems like there are issues with scala 2.11









On Wed, May 28, 2014 at 6:41 PM, Guozhang Wang <wangg...@gmail.com>
wrote:
Hello Laszlo,

Have you built Kafka with scala 2.11? You may read the README file to
check
compiling Kafka with different scala versions.

Guozhang


On Wed, May 28, 2014 at 5:45 AM, Laszlo Fogas <
las...@falconsocial.com
wrote:

Hello folks,

anybody running kafka with scala 2.11.0?

KAFKA-1454 says it's possible.. i'm having problems though when
running
the
basic producer example from the wiki

The message is *NoClassDefFoundError:
scala/collection/GenTraversableOnce$class*


Thanks

Laszlo



--
-- Guozhang



--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/

Reply via email to