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

Make debugging subprocess workers easier

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sdk-py-harness
    • Labels:
      None

      Description

      [ ] The output of the SDK workers is currently invisible due to the output and logging setup.

      [ ] The dockerized version of the Python SDK worker sets up an HTTP server to let the user view stack traces for all of the worker's threads [1]. It would be useful if this was available for other execution modes as well.

      [x] BEAM-7676 Make the above items more usable with multiple subprocesses by identifying them with worker ids.

       

      [1] https://github.com/apache/beam/blob/9f4ce1c6fc2fb195e218783a6e9ce6104ddb4d1e/sdks/python/apache_beam/runners/worker/sdk_worker_main.py#L46-L89

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ibzib Kyle Weaver
                Reporter:
                ibzib Kyle Weaver
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: