beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviem Zur (JIRA)" <>
Subject [jira] [Created] (BEAM-1146) Spark runner ~1m startup overhead
Date Tue, 13 Dec 2016 15:29:58 GMT
Aviem Zur created BEAM-1146:

             Summary: Spark runner ~1m startup overhead
                 Key: BEAM-1146
             Project: Beam
          Issue Type: Improvement
            Reporter: Aviem Zur

BEAM-921 introduced a lazy singleton instantiated once in each machine (driver & executors)
which utilizes reflection to find all subclasses of Source and Coder
While this is beneficial in it's 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}}
The reason reflection (specifically reflections library) was used here is because  there is
no current way of knowing all the source and coder classes at runtime.

This message was sent by Atlassian JIRA

View raw message