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

Issues with state and multiple workers in FnApiRunner

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.5.0
    • sdk-py-core
    • None
    • Hide
      These are not always deterministic, but there seems to be some race condition in setting/sharing state across workers. For example,

      https://builds.apache.org/job/beam_PreCommit_Python_Commit/10174/consoleText

      FAIL: test_pardo_state_only (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTestWithBundleRepeatAndMultiWorkers)

      ...
      apache_beam.testing.util.BeamAssertException: Failed assert: [('A', 'a', 1), ('A', 'a', 2), ('B', 'b', 1), ('B', 'b', 2), ('B', 'b', 3)] == [('A', 'a', 1), ('B', 'b', 1), ('B', 'b', 2), ('A', 'a', 1), ('B', 'b', 1)] [while running 'assert_that/Match']
      Show
      These are not always deterministic, but there seems to be some race condition in setting/sharing state across workers. For example, https://builds.apache.org/job/beam_PreCommit_Python_Commit/10174/consoleText FAIL: test_pardo_state_only (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTestWithBundleRepeatAndMultiWorkers) ... apache_beam.testing.util.BeamAssertException: Failed assert: [('A', 'a', 1), ('A', 'a', 2), ('B', 'b', 1), ('B', 'b', 2), ('B', 'b', 3)] == [('A', 'a', 1), ('B', 'b', 1), ('B', 'b', 2), ('A', 'a', 1), ('B', 'b', 1)] [while running 'assert_that/Match']

    Attachments

      Issue Links

        Activity

          People

            Unassigned Unassigned
            robertwb Robert Bradshaw
            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 - 1h
                1h