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

Eat stderr from subprocess in _get_default_gcp_region

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • Not applicable
    • runner-dataflow
    • None

    Description

      When we call gcloud to get a default GCP region, we leak the stderr from the subprocess, spamming a bunch of "(unset)" lines in the logs.

      https://github.com/apache/beam/blob/master/sdks/python/apache_beam/options/pipeline_options.py#L517

      Attachments

        Issue Links

          Activity

            People

              ibzib Kyle Weaver
              ibzib Kyle Weaver
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 20m
                  20m