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

sdk_worker_main.py eagerly parses pipeline options

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Not applicable
    • sdk-py-harness
    • None

    Description

      sdk_worker_main.py eagerly parses pipeline options beause of the call to get_all_options here: https://github.com/apache/beam/blob/61b665640d6c0f91751bba59782c0ac6aceacba6/sdks/python/apache_beam/runners/worker/sdk_worker_main.py#L138

      This can cause the worker to crash if any option that can't be read at execution is time is used, even if we don't need to access it at execution time (e.g. json.loads arguments, described in BEAM-10274)

      Attachments

        Issue Links

          Activity

            People

              bhulette Brian Hulette
              bhulette Brian Hulette
              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 10m
                  1h 10m