[
https://issues.apache.org/jira/browse/BEAM-7600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anonymous updated BEAM-7600:
----------------------------
Status: Triage Needed (was: Resolved)
> Spark portable runner: reuse SDK harness
> ----------------------------------------
>
> Key: BEAM-7600
> URL: https://issues.apache.org/jira/browse/BEAM-7600
> Project: Beam
> Issue Type: Improvement
> Components: runner-spark
> Reporter: Kyle Weaver
> Assignee: Kyle Weaver
> Priority: P2
> Labels: portability-spark
> Fix For: 2.16.0
>
> Time Spent: 8.5h
> Remaining Estimate: 0h
>
> Right now, we're creating a new SDK harness every time an executable stage is
> run [1], which is expensive. We should be able to re-use code from the Flink
> runner to re-use the SDK harness [2].
>
> [1]
> [https://github.com/apache/beam/blob/c9fb261bc7666788402840bb6ce1b0ce2fd445d1/runners/spark/src/main/java/org/apache/beam/runners/spark/translation/SparkExecutableStageFunction.java#L135]
> [2]
> [https://github.com/apache/beam/blob/c9fb261bc7666788402840bb6ce1b0ce2fd445d1/runners/flink/src/main/java/org/apache/beam/runners/flink/translation/functions/FlinkDefaultExecutableStageContext.java]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)