apache / apache/beam

--worker_harness_container_image should issue a warning if not used with --runner DataflowRunner

Open
#18,239 0 comments 0 reactions 0 assignees View on GitHub
core improvement P3 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Running
python -m apache_beam.examples.wordcount \--output counts \--worker_harness_container_image
doesn't issue a warning saying that the job is being run by DirectRunner (default) and therefore no worker_harness_container_image will be used.

Imported from Jira [BEAM-2048](https://issues.apache.org/jira/browse/BEAM-2048). Original Jira may contain additional context.
Reported by: mariagh.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Python command-line handling for --worker_harness_container_image and --runner, then reproduce the example command with DirectRunner. Done means a warning explains that DirectRunner is being used and the worker harness container image will not be used, while the option remains effective with DataflowRunner.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.