You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/12/02 22:06:00 UTC

[jira] [Updated] (BEAM-11385) Samza "[type.argument.type.incompatible] " error.

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

Kenneth Knowles updated BEAM-11385:
-----------------------------------
    Status: Open  (was: Triage Needed)

> Samza "[type.argument.type.incompatible] " error.
> -------------------------------------------------
>
>                 Key: BEAM-11385
>                 URL: https://issues.apache.org/jira/browse/BEAM-11385
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-samza
>    Affects Versions: 2.26.0
>            Reporter: Robert Burke
>            Assignee: Robert Burke
>            Priority: P2
>             Fix For: 2.26.0
>
>
> Unable to build samza due to the following:
> ```
> Task :runners:samza:compileJava /home/rebo/build_release_candidate/beam/runners/samza/src/main/java/org/apache/beam/runners/samza/runtime/KeyedTimerData.java:48: error: [type.argument.type.incompatible] incompatible type argument for type parameter K of KeyedTimerData. public class KeyedTimerData<K> implements Comparable<KeyedTimerData<K>> { ^ found : K[ extends @UnknownKeyFor Object super @KeyForBottom Void] required: [extends @UnknownKeyFor Object super @UnknownKeyFor null]
> ```
>  
> Suppressing "keyfor" for the class resolves the issue.
> It's not clear why this isn't happening on master.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)