Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11385

Samza "[type.argument.type.incompatible] " error.

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.26.0
    • 2.26.0
    • runner-samza
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              lostluck Robert Burke
              lostluck Robert Burke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h