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

Guozhang Wang commented on KAFKA-1813:
--------------------------------------

Thanks Anatoly.

When I ran the tests / builds before checking in KAFKA-1650 I did not see 
either this issue or KAFKA-1815, which is a bit wired. Will do some local 
testing again.

> Build fails for scala 2.9.2
> ---------------------------
>
>                 Key: KAFKA-1813
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1813
>             Project: Kafka
>          Issue Type: Bug
>          Components: build
>            Reporter: Anatoly Fayngelerin
>            Assignee: Anatoly Fayngelerin
>            Priority: Minor
>             Fix For: 0.8.3
>
>         Attachments: fix_2_9_2_build.patch
>
>
> Currently, in trunk, the 2.9.2 build fails with the following error:
> MirrorMaker.scala:507 overloaded method value commitOffsets with alternatives:
>   (isAutoCommit: Boolean,topicPartitionOffsets: 
> scala.collection.immutable.Map[kafka.common.TopicAndPartition,kafka.common.OffsetAndMetadata])Unit
>  <and>
>   (isAutoCommit: Boolean)Unit <and>
>   => Unit
>  cannot be applied to (isAutoCommit: Boolean, 
> scala.collection.immutable.Map[kafka.common.TopicAndPartition,kafka.common.OffsetAndMetadata])
>         connector.commitOffsets(isAutoCommit = false, offsetsToCommit)
> It looks like the 2.9.2 compiler cannot resolve an overloaded method when 
> mixing named and ordered parameters.
> I ran into this when I cloned the repo and ran ./gradlew test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to