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 (Created) (JIRA)" <ji...@apache.org> on 2012/02/27 22:25:48 UTC

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

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).

--
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

        

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

Posted by "Elben Shira (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Joe Stein (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KAFKA-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218574#comment-13218574 ] 

Joe Stein commented on KAFKA-287:
---------------------------------

I run Kafka in production using Scala 2.9.1 changing build.properties and creating a new build

I run sbt 11.2 for all of my code but use the existing sbt in the Kafka project for building kafka.

KAFKA-134 tries to address an upgrade to 0.10.1 which I tried once but ran into an issue.  we should look at KAFKA-134 and making it be 11.2 (should not be much more than what was already in 0.10.1 changes)

do you want to take a look into KAFKA-134 ? I can review when you are done..   I think this ticket though is covered in KAFKA-134 changes.

the workaround is exactly what you did, change build.properties to 2.9.1 and rebuild.  works great just some warnings otherwise have no issue in production
                
> 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
>
> Built the kafka library using the instructions found in the README. My client uses scala 2.9.1, sbt 0.11. 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 built the kafka library using scala 2.9.1 (by changing build.properties).

--
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

        

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

Posted by "Elben Shira (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Description: 
Built the kafka library using the instructions found in the README. My client uses scala 2.9.1, sbt 0.11. 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 built the kafka library using scala 2.9.1 (by changing build.properties).

  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).

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

    
> 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
>
> Built the kafka library using the instructions found in the README. My client uses scala 2.9.1, sbt 0.11. 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 built the kafka library using scala 2.9.1 (by changing build.properties).

--
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