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

Jun Rao updated KAFKA-1813:
---------------------------
       Resolution: Fixed
    Fix Version/s: 0.8.3
         Assignee: Anatoly Fayngelerin
           Status: Resolved  (was: Patch Available)

Thanks for the patch. The issue was introduced by KAFKA-1650. +1 and committed 
to trunk.

> 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