You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Navina Ramesh (JIRA)" <ji...@apache.org> on 2017/04/10 18:22:41 UTC

[jira] [Commented] (SAMZA-1200) Scala compile for samza-core occassionally fails with ambiguous reference error

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

Navina Ramesh commented on SAMZA-1200:
--------------------------------------

I have seen this happen when the gradle cache gets corrupted. Usually, clearing the gradle cache fixes it. Not sure why it happens.

> Scala compile for samza-core occassionally fails with ambiguous reference error
> -------------------------------------------------------------------------------
>
>                 Key: SAMZA-1200
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1200
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Prateek Maheshwari
>            Assignee: Prateek Maheshwari
>             Fix For: 0.13.0
>
>
> Need to investigate why this is intermittent.
> {code}
> :samza-core_2.10:compileScala
> [ant:scalac] /Users/pmaheshw/code/work/samza-linkedin/samza/samza-core/src/main/scala/org/apache/samza/util/Logging.scala:32: error: ambiguous reference to overloaded definition,
> [ant:scalac] both method info in trait Logger of type (x$1: String, x$2: <repeated...>[Object])Unit
> [ant:scalac] and  method info in trait Logger of type (x$1: String)Unit
> [ant:scalac] match argument types (Any)
> [ant:scalac]     logger.info(message)
> [ant:scalac]            ^
> [ant:scalac] /Users/pmaheshw/code/work/samza-linkedin/samza/samza-core/src/main/scala/org/apache/samza/util/Logging.scala:33: error: ambiguous reference to overloaded definition,
> [ant:scalac] both method info in trait Logger of type (x$1: String, x$2: <repeated...>[Object])Unit
> [ant:scalac] and  method info in trait Logger of type (x$1: String)Unit
> [ant:scalac] match argument types (Any)
> [ant:scalac]     startupLogger.info(message)
> [ant:scalac]                   ^
> [ant:scalac] two errors found
> :samza-core_2.10:compileScala FAILED
> FAILURE: Build failed with an exception.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)