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

Slowly updating global window side inputs example reads singleton side input with multiple elements per window

Details

    • Bug
    • Status: Open
    • P2
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      The example "The Slowly updating global window side inputs" [1] produces an unexpected error. Our implementation follows the example but uses a 30-second duration. The error first occurred after 4000 triggers. The pipeline ran on Dataflow using Java 1.8 and Beam SDK 2.33.0.

       

      Caused by: org.apache.beam.vendor.guava.v26_0_jre.com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: PCollection with more than one element accessed as a singleton view. 

       

       

      Applying a combine function before applying the view singleton has no positive effect. Changing the refresh duration to 5 minutes alleviates or delays the error. 

      Relevant post:

      Please let me know if you have any questions.

      References:

       [1] https://beam.apache.org/documentation/patterns/side-inputs/

      Attachments

        Activity

          People

            Unassigned Unassigned
            yianni John Gerassimou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: