File tree Expand file tree Collapse file tree
apache_beam/runners/dataflow/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,6 +196,17 @@ def __init__(
196196 # TODO: Use enumerated type instead of strings for job types.
197197 if job_type .startswith ('FNAPI_' ):
198198 self .debug_options .experiments = self .debug_options .experiments or []
199+
200+ # TODO(BEAM-9707) : Remove hardcoding runner_harness_container for
201+ # Unified worker.
202+ if _use_unified_worker (
203+ options ) and not self .debug_options .lookup_experiment (
204+ 'runner_harness_container_image'
205+ ) and 'dev' in beam_version .__version__ :
206+ self .debug_options .add_experiment (
207+ 'runner_harness_container_image='
208+ 'gcr.io/cloud-dataflow/v1beta3/unified-harness:20200402-rc00' )
209+
199210 if self .debug_options .lookup_experiment (
200211 'runner_harness_container_image' ) or _use_unified_worker (options ):
201212 # Default image is not used if user provides a runner harness image.
Original file line number Diff line number Diff line change @@ -232,8 +232,6 @@ if [[ -z $PIPELINE_OPTS ]]; then
232232 # Add --runner_v2 if provided
233233 if [[ " $RUNNER_V2 " = true ]]; then
234234 opts+=(" --experiments=use_runner_v2" )
235- # Cleanup jira BEAM-9391
236- opts+=(" --experiments=runner_harness_container_image=gcr.io/cloud-dataflow/v1beta3/unified-harness:20200227-rc01" )
237235 if [[ " $STREAMING " = true ]]; then
238236 # Dataflow Runner V2 only supports streaming engine.
239237 opts+=(" --enable_streaming_engine" )
You can’t perform that action at this time.
0 commit comments