Move org.apache.beam.runners.spark.aggregators.metrics.sink.InMemoryMetrics class out of test jar
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Currently, org.apache.beam.runners.spark.aggregators.metrics.sink.InMemoryMetrics class is in test jar, but InMemoryMetrics is needed when doing unit tests and local runs for spark runner. So move it out of test jar to support unit tests and local runs.
Imported from Jira [BEAM-11775](https://issues.apache.org/jira/browse/BEAM-11775). Original Jira may contain additional context.
Reported by: YC.
Contributor guide
Research direction
Locate org.apache.beam.runners.spark.aggregators.metrics.sink.InMemoryMetrics and inspect how the Spark runner packages it in the test jar. Trace the unit-test and local-run references, then verify that the class is available from the appropriate non-test artifact and remains usable in both contexts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spark
- Domain
- data, distributed-systems
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100