|
Jane Wang
2013-01-14, 21:22
Neha Narkhede
2013-01-15, 00:23
Michal Haris
2013-02-17, 20:32
Michal Haris
2013-02-17, 22:32
Joe Stein
2013-02-18, 00:15
Neha Narkhede
2013-02-21, 02:02
Joe Stein
2013-02-21, 10:53
|
-
kafka 0.8 vs. scala 2.9.2Jane Wang 2013-01-14, 21:22
I need to use some of the newly added functions of kafka 0.8. However, in
our system, we support scala 2.9.2. I build my code together kafka 0.8 and scala 2.9.2 and I got alot of runtime issues, one of them is: Exception in thread "main" java.lang.NoClassDefFoundError: scala/Tuple2$mcLL$sp at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:29) I google searched and it seems there are also some people complaining about the same issue but no real solution to it. Is kafka 0.8 compatible with scala 2.9.2? Can kafka 0.8 provide a build with scal 2.9.2? thanks, Jane +
Jane Wang 2013-01-14, 21:22
-
Re: kafka 0.8 vs. scala 2.9.2Neha Narkhede 2013-01-15, 00:23
Jane,
I changed the version of scala in project/build.properties to 2.9.2 and did a ./sbt clean update package. It seems to build and run fine for me. I would check the classpath to see if there are conflicting versions of scala. Thanks, Neha On Mon, Jan 14, 2013 at 1:22 PM, Jane Wang <[EMAIL PROTECTED]> wrote: > I need to use some of the newly added functions of kafka 0.8. However, in > our system, > we support scala 2.9.2. I build my code together kafka 0.8 and scala 2.9.2 > and I got alot > of runtime issues, one of them is: > Exception in thread "main" java.lang.NoClassDefFoundError: > scala/Tuple2$mcLL$sp > at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:29) > > I google searched and it seems there are also some people complaining about > the same > issue but no real solution to it. > > Is kafka 0.8 compatible with scala 2.9.2? Can kafka 0.8 provide a build > with scal 2.9.2? > > thanks, > Jane > +
Neha Narkhede 2013-01-15, 00:23
-
Re: kafka 0.8 vs. scala 2.9.2Michal Haris 2013-02-17, 20:32
I have tried to build trunk and 0.8 branch today for the first time but
failed: 1. When using sbt clean package there are some minor warnings but it completes, however trying to run the server from packaged bin it exits with class kafka.Kafka not found. 2. When trying to use scala maven plugin, with which I can build 0.7.x branches (dependent on scala 2.8.0), after some tweaking of the generated kafka-core pom and having all dependencies I can't compile - get a type mismatch for Unit found zk Stat - has anybody tried to build 0.8 core only jar with maven ? Not sure what I'm doing wrong as my understanding of scala versions and sbt is minimal. On Jan 15, 2013 12:23 AM, "Neha Narkhede" <[EMAIL PROTECTED]> wrote: > Jane, > > I changed the version of scala in project/build.properties to 2.9.2 and did > a ./sbt clean update package. It seems to build and run fine for me. > > I would check the classpath to see if there are conflicting versions of > scala. > > Thanks, > Neha > > > On Mon, Jan 14, 2013 at 1:22 PM, Jane Wang <[EMAIL PROTECTED]> wrote: > > > I need to use some of the newly added functions of kafka 0.8. However, in > > our system, > > we support scala 2.9.2. I build my code together kafka 0.8 and scala > 2.9.2 > > and I got alot > > of runtime issues, one of them is: > > Exception in thread "main" java.lang.NoClassDefFoundError: > > scala/Tuple2$mcLL$sp > > at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:29) > > > > I google searched and it seems there are also some people complaining > about > > the same > > issue but no real solution to it. > > > > Is kafka 0.8 compatible with scala 2.9.2? Can kafka 0.8 provide a build > > with scal 2.9.2? > > > > thanks, > > Jane > > > +
Michal Haris 2013-02-17, 20:32
-
Re: kafka 0.8 vs. scala 2.9.2Michal Haris 2013-02-17, 22:32
Ok resolved:
1. the scripts in bin refer to target scala_2.8.0 even when building 2.9.2 target 2. sbt make-pom generates few conflicting dependencies including zkclient On Feb 17, 2013 8:32 PM, "Michal Haris" <[EMAIL PROTECTED]> wrote: > I have tried to build trunk and 0.8 branch today for the first time but > failed: > > 1. When using sbt clean package there are some minor warnings but it > completes, however trying to run the server from packaged bin it exits with > class kafka.Kafka not found. > > 2. When trying to use scala maven plugin, with which I can build 0.7.x > branches (dependent on scala 2.8.0), after some tweaking of the generated > kafka-core pom and having all dependencies I can't compile - get a type > mismatch for Unit found zk Stat - has anybody tried to build 0.8 core only > jar with maven ? > > Not sure what I'm doing wrong as my understanding of scala versions and > sbt is minimal. > On Jan 15, 2013 12:23 AM, "Neha Narkhede" <[EMAIL PROTECTED]> wrote: > >> Jane, >> >> I changed the version of scala in project/build.properties to 2.9.2 and >> did >> a ./sbt clean update package. It seems to build and run fine for me. >> >> I would check the classpath to see if there are conflicting versions of >> scala. >> >> Thanks, >> Neha >> >> >> On Mon, Jan 14, 2013 at 1:22 PM, Jane Wang <[EMAIL PROTECTED]> wrote: >> >> > I need to use some of the newly added functions of kafka 0.8. However, >> in >> > our system, >> > we support scala 2.9.2. I build my code together kafka 0.8 and scala >> 2.9.2 >> > and I got alot >> > of runtime issues, one of them is: >> > Exception in thread "main" java.lang.NoClassDefFoundError: >> > scala/Tuple2$mcLL$sp >> > at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:29) >> > >> > I google searched and it seems there are also some people complaining >> about >> > the same >> > issue but no real solution to it. >> > >> > Is kafka 0.8 compatible with scala 2.9.2? Can kafka 0.8 provide a build >> > with scal 2.9.2? >> > >> > thanks, >> > Jane >> > >> > +
Michal Haris 2013-02-17, 22:32
-
Re: kafka 0.8 vs. scala 2.9.2Joe Stein 2013-02-18, 00:15
for #1 we should come up with some way for folks to deal with that as more
will once released trying to build on 2.9.2 and have to work around maybe have the sbt build write something to a place the bin bash scripts can look at to concatenate the path with? I will create a JIRA ticket On Sun, Feb 17, 2013 at 5:31 PM, Michal Haris <[EMAIL PROTECTED]>wrote: > Ok resolved: > > 1. the scripts in bin refer to target scala_2.8.0 even when building 2.9.2 > target > > 2. sbt make-pom generates few conflicting dependencies including zkclient > On Feb 17, 2013 8:32 PM, "Michal Haris" <[EMAIL PROTECTED]> > wrote: > > > I have tried to build trunk and 0.8 branch today for the first time but > > failed: > > > > 1. When using sbt clean package there are some minor warnings but it > > completes, however trying to run the server from packaged bin it exits > with > > class kafka.Kafka not found. > > > > 2. When trying to use scala maven plugin, with which I can build 0.7.x > > branches (dependent on scala 2.8.0), after some tweaking of the generated > > kafka-core pom and having all dependencies I can't compile - get a type > > mismatch for Unit found zk Stat - has anybody tried to build 0.8 core > only > > jar with maven ? > > > > Not sure what I'm doing wrong as my understanding of scala versions and > > sbt is minimal. > > On Jan 15, 2013 12:23 AM, "Neha Narkhede" <[EMAIL PROTECTED]> > wrote: > > > >> Jane, > >> > >> I changed the version of scala in project/build.properties to 2.9.2 and > >> did > >> a ./sbt clean update package. It seems to build and run fine for me. > >> > >> I would check the classpath to see if there are conflicting versions of > >> scala. > >> > >> Thanks, > >> Neha > >> > >> > >> On Mon, Jan 14, 2013 at 1:22 PM, Jane Wang <[EMAIL PROTECTED]> wrote: > >> > >> > I need to use some of the newly added functions of kafka 0.8. However, > >> in > >> > our system, > >> > we support scala 2.9.2. I build my code together kafka 0.8 and scala > >> 2.9.2 > >> > and I got alot > >> > of runtime issues, one of them is: > >> > Exception in thread "main" java.lang.NoClassDefFoundError: > >> > scala/Tuple2$mcLL$sp > >> > at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:29) > >> > > >> > I google searched and it seems there are also some people complaining > >> about > >> > the same > >> > issue but no real solution to it. > >> > > >> > Is kafka 0.8 compatible with scala 2.9.2? Can kafka 0.8 provide a > build > >> > with scal 2.9.2? > >> > > >> > thanks, > >> > Jane > >> > > >> > > > -- /* Joe Stein http://www.linkedin.com/in/charmalloc Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> */ +
Joe Stein 2013-02-18, 00:15
-
Re: kafka 0.8 vs. scala 2.9.2Neha Narkhede 2013-02-21, 02:02
Joe,
What is the JIRA for this issue ? Thanks, Neha On Sun, Feb 17, 2013 at 4:14 PM, Joe Stein <[EMAIL PROTECTED]> wrote: > for #1 we should come up with some way for folks to deal with that as more > will once released trying to build on 2.9.2 and have to work around > > maybe have the sbt build write something to a place the bin bash scripts > can look at to concatenate the path with? > > I will create a JIRA ticket > > On Sun, Feb 17, 2013 at 5:31 PM, Michal Haris <[EMAIL PROTECTED] > >wrote: > > > Ok resolved: > > > > 1. the scripts in bin refer to target scala_2.8.0 even when building > 2.9.2 > > target > > > > 2. sbt make-pom generates few conflicting dependencies including zkclient > > On Feb 17, 2013 8:32 PM, "Michal Haris" <[EMAIL PROTECTED]> > > wrote: > > > > > I have tried to build trunk and 0.8 branch today for the first time but > > > failed: > > > > > > 1. When using sbt clean package there are some minor warnings but it > > > completes, however trying to run the server from packaged bin it exits > > with > > > class kafka.Kafka not found. > > > > > > 2. When trying to use scala maven plugin, with which I can build 0.7.x > > > branches (dependent on scala 2.8.0), after some tweaking of the > generated > > > kafka-core pom and having all dependencies I can't compile - get a type > > > mismatch for Unit found zk Stat - has anybody tried to build 0.8 core > > only > > > jar with maven ? > > > > > > Not sure what I'm doing wrong as my understanding of scala versions and > > > sbt is minimal. > > > On Jan 15, 2013 12:23 AM, "Neha Narkhede" <[EMAIL PROTECTED]> > > wrote: > > > > > >> Jane, > > >> > > >> I changed the version of scala in project/build.properties to 2.9.2 > and > > >> did > > >> a ./sbt clean update package. It seems to build and run fine for me. > > >> > > >> I would check the classpath to see if there are conflicting versions > of > > >> scala. > > >> > > >> Thanks, > > >> Neha > > >> > > >> > > >> On Mon, Jan 14, 2013 at 1:22 PM, Jane Wang <[EMAIL PROTECTED]> wrote: > > >> > > >> > I need to use some of the newly added functions of kafka 0.8. > However, > > >> in > > >> > our system, > > >> > we support scala 2.9.2. I build my code together kafka 0.8 and scala > > >> 2.9.2 > > >> > and I got alot > > >> > of runtime issues, one of them is: > > >> > Exception in thread "main" java.lang.NoClassDefFoundError: > > >> > scala/Tuple2$mcLL$sp > > >> > at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:29) > > >> > > > >> > I google searched and it seems there are also some people > complaining > > >> about > > >> > the same > > >> > issue but no real solution to it. > > >> > > > >> > Is kafka 0.8 compatible with scala 2.9.2? Can kafka 0.8 provide a > > build > > >> > with scal 2.9.2? > > >> > > > >> > thanks, > > >> > Jane > > >> > > > >> > > > > > > > > > -- > > /* > Joe Stein > http://www.linkedin.com/in/charmalloc > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> > */ > +
Neha Narkhede 2013-02-21, 02:02
-
Re: kafka 0.8 vs. scala 2.9.2Joe Stein 2013-02-21, 10:53
https://issues.apache.org/jira/browse/KAFKA-760
On Wed, Feb 20, 2013 at 9:02 PM, Neha Narkhede <[EMAIL PROTECTED]>wrote: > Joe, > > What is the JIRA for this issue ? > > Thanks, > Neha > > > On Sun, Feb 17, 2013 at 4:14 PM, Joe Stein <[EMAIL PROTECTED]> wrote: > > > for #1 we should come up with some way for folks to deal with that as > more > > will once released trying to build on 2.9.2 and have to work around > > > > maybe have the sbt build write something to a place the bin bash scripts > > can look at to concatenate the path with? > > > > I will create a JIRA ticket > > > > On Sun, Feb 17, 2013 at 5:31 PM, Michal Haris < > [EMAIL PROTECTED] > > >wrote: > > > > > Ok resolved: > > > > > > 1. the scripts in bin refer to target scala_2.8.0 even when building > > 2.9.2 > > > target > > > > > > 2. sbt make-pom generates few conflicting dependencies including > zkclient > > > On Feb 17, 2013 8:32 PM, "Michal Haris" <[EMAIL PROTECTED]> > > > wrote: > > > > > > > I have tried to build trunk and 0.8 branch today for the first time > but > > > > failed: > > > > > > > > 1. When using sbt clean package there are some minor warnings but it > > > > completes, however trying to run the server from packaged bin it > exits > > > with > > > > class kafka.Kafka not found. > > > > > > > > 2. When trying to use scala maven plugin, with which I can build > 0.7.x > > > > branches (dependent on scala 2.8.0), after some tweaking of the > > generated > > > > kafka-core pom and having all dependencies I can't compile - get a > type > > > > mismatch for Unit found zk Stat - has anybody tried to build 0.8 core > > > only > > > > jar with maven ? > > > > > > > > Not sure what I'm doing wrong as my understanding of scala versions > and > > > > sbt is minimal. > > > > On Jan 15, 2013 12:23 AM, "Neha Narkhede" <[EMAIL PROTECTED]> > > > wrote: > > > > > > > >> Jane, > > > >> > > > >> I changed the version of scala in project/build.properties to 2.9.2 > > and > > > >> did > > > >> a ./sbt clean update package. It seems to build and run fine for me. > > > >> > > > >> I would check the classpath to see if there are conflicting versions > > of > > > >> scala. > > > >> > > > >> Thanks, > > > >> Neha > > > >> > > > >> > > > >> On Mon, Jan 14, 2013 at 1:22 PM, Jane Wang <[EMAIL PROTECTED]> > wrote: > > > >> > > > >> > I need to use some of the newly added functions of kafka 0.8. > > However, > > > >> in > > > >> > our system, > > > >> > we support scala 2.9.2. I build my code together kafka 0.8 and > scala > > > >> 2.9.2 > > > >> > and I got alot > > > >> > of runtime issues, one of them is: > > > >> > Exception in thread "main" java.lang.NoClassDefFoundError: > > > >> > scala/Tuple2$mcLL$sp > > > >> > at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:29) > > > >> > > > > >> > I google searched and it seems there are also some people > > complaining > > > >> about > > > >> > the same > > > >> > issue but no real solution to it. > > > >> > > > > >> > Is kafka 0.8 compatible with scala 2.9.2? Can kafka 0.8 provide a > > > build > > > >> > with scal 2.9.2? > > > >> > > > > >> > thanks, > > > >> > Jane > > > >> > > > > >> > > > > > > > > > > > > > > > -- > > > > /* > > Joe Stein > > http://www.linkedin.com/in/charmalloc > > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> > > */ > > > -- /* Joe Stein http://www.linkedin.com/in/charmalloc Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> */ +
Joe Stein 2013-02-21, 10:53
|