Update native spark metrics
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Native engine metrics are updated on `finishBundle` by DoFnRunners. Spark uses `SimpleDoFnRunner` that is in runner-core and thus contains nothing spark native. It might be good to extend `SimpleDoFnRunner` to add native metrics support just like it was done in Flink with `DoFnRunnerWithMetrics` class.
Imported from Jira [BEAM-5212](https://issues.apache.org/jira/browse/BEAM-5212). Original Jira may contain additional context.
Reported by: echauchot.
Contributor guide
Research direction
Start by reading runner-core's SimpleDoFnRunner and the Flink DoFnRunnerWithMetrics implementation, then trace how Spark invokes finishBundle. The change is complete when Spark native metrics are updated through the runner, matching the intended Flink-style behavior; consult the linked BEAM-5212 Jira issue for additional context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spark
- Domain
- data-engineering, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100