You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Elben Shira (Updated) (JIRA)" <ji...@apache.org> on 2012/02/27 22:27:48 UTC

[jira] [Updated] (KAFKA-287) Running a consumer client using scala 2.8 fails

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

Elben Shira updated KAFKA-287:
------------------------------

    Description: 
My consumer client has this snippet of code: https://gist.github.com/a35006cc25e39ba386e2

The client compiles, but running it produces this stacktrace: https://gist.github.com/efeb85f50402b477d6e0

I think this may be because of a bug found in scala 2.9.0 (though I'm not sure if it was present in scala 2.8.0): https://issues.scala-lang.org/browse/SI-4575

To get around this, I switched to scala 2.9.1, and built the kafka library using scala 2.9.1 (by changing build.properties).

Built the kafka library using the instructions found in the README. My client uses scala 2.9.1, sbt 0.11.

  was:
My consumer client has this snippet of code: https://gist.github.com/a35006cc25e39ba386e2

The client compiles, but running it produces this stacktrace: https://gist.github.com/efeb85f50402b477d6e0

I think this may be because of a bug found in scala 2.9.0 (though I'm not sure if it was present in scala 2.8.0): https://issues.scala-lang.org/browse/SI-4575

To get around this, I switched to scala 2.9.1, and built the kafka library using scala 2.9.1 (by changing build.properties).

    
> Running a consumer client using scala 2.8 fails
> -----------------------------------------------
>
>                 Key: KAFKA-287
>                 URL: https://issues.apache.org/jira/browse/KAFKA-287
>             Project: Kafka
>          Issue Type: Bug
>         Environment: Java 1.6, OS X
>            Reporter: Elben Shira
>
> My consumer client has this snippet of code: https://gist.github.com/a35006cc25e39ba386e2
> The client compiles, but running it produces this stacktrace: https://gist.github.com/efeb85f50402b477d6e0
> I think this may be because of a bug found in scala 2.9.0 (though I'm not sure if it was present in scala 2.8.0): https://issues.scala-lang.org/browse/SI-4575
> To get around this, I switched to scala 2.9.1, and built the kafka library using scala 2.9.1 (by changing build.properties).
> Built the kafka library using the instructions found in the README. My client uses scala 2.9.1, sbt 0.11.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira