Details
-
Improvement
-
Status: Triage Needed
-
P2
-
Resolution: Fixed
-
None
Description
Currently, Flink job jars re-stage all artifacts at runtime (on the JobManager) by using the usual BeamFileSystemArtifactRetrievalService [1]. However, since the manifest and all the artifacts live on the classpath of the jar, and everything from the classpath is copied to the Flink workers anyway [2], it should not be necessary to do additional artifact staging. We could replace BeamFileSystemArtifactRetrievalService in this case with a simple ArtifactRetrievalService that just pulls the artifacts from the classpath.