Details
-
Improvement
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
-
None
Description
BEAM-921 introduced a lazy singleton instantiated once in each JVM (driver & executors) which utilizes reflection to find all subclasses of Source and Coder
While this is beneficial in its own right, the change added about one minute of overhead in spark runner startup time (which cause the first job/stage to take up to a minute).
The change is in class BeamSparkRunnerRegistrator.