[ 
https://issues.apache.org/jira/browse/KAFKA-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639091#comment-13639091
 ] 

Richard Grossman edited comment on KAFKA-717 at 4/23/13 3:03 PM:
-----------------------------------------------------------------

Hi

I've some problem with how to apply the patch, I need to compile kafka to run 
with scala 2.10
I've git cloned the repository

then applied the patch KAFKA-717-simple.patch
then I try to package ./sbt "++2.10.1 package"
But I still got errors likes because some file seems not to be patched

 C:\sources\kafka\core\src\main\scala\kafka\server\TopicConfigManager.scala:80: 
value asBuffer is not a member of object scala.collection.JavaConversions
[error]     processConfigChanges(JavaConversions.asBuffer(configChanges).sorted)
[error]                                          ^

making me thinking the patch as not been applied as expected 
please help
thanks
                
      was (Author: richiesgr):
    Hi

I've some problem with how to apply the patch, I need to compile kafka to run 
with scala 2.10
I've git cloned the repository
I can't see any directory like core/src/main/scala-2.8.x , 
core/src/main/scala-2.9.x  only scala

then applied the patch KAFKA-717-complex.patch
then I try to package ./sbt "++2.10.1 package"
But I got 63 errors likes 

\MessageSetSend.scala:31: type mismatch;
[error]  found   : kafka.utils.nonthreadsafe
[error]  required: scala.annotation.Annotation
[error] @nonthreadsafe
[error]  ^

or 

TopicConfigManager.scala:80: value asBuffer is not a member of object 
scala.collection.JavaConversions
[error]     processConfigChanges(JavaConversions.asBuffer(configChanges).sorted)

making me thinking the patch as not been applied as expected 
please help
thanks

                  
> scala 2.10 build support
> ------------------------
>
>                 Key: KAFKA-717
>                 URL: https://issues.apache.org/jira/browse/KAFKA-717
>             Project: Kafka
>          Issue Type: Improvement
>          Components: packaging
>    Affects Versions: 0.8
>            Reporter: Viktor Taranenko
>              Labels: build
>         Attachments: 0001-KAFKA-717-Convert-to-scala-2.10.patch, 
> KAFKA-717-complex.patch, KAFKA-717-simple.patch, kafka_scala_2.10.tar.gz
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to