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

Issues with state and multiple workers in FnApiRunner

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: sdk-py-core
    • Labels:
      None
    • Docs Text:
      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

            • Assignee:
              Unassigned
              Reporter:
              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