apache / apache/beam

Python ULR Harness submits null pipeline_options field in PrepareJobRequest

Open
#18,609 0 comments 0 reactions 0 assignees View on GitHub
bug harness P4 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
2d 2h
Merged PRs (30d)
205

Description

the beam_job_api gRPC definition indicates that pipeline_options is a required field.  However, the python ULR currently does not set an options struct.  This is trivially solved on the job server side by instantiating a default.  However, there may be cases where the job server assumes it exists and falls over on an NPE during translation.

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

Contributor guide

Open the contributing guide

Research direction

Start by reading the beam_job_api gRPC definition and the Python ULR code that constructs PrepareJobRequest. Trace how pipeline_options is populated, then verify that the request always carries an options struct and that translation no longer receives a null value.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.