Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
EvaluatorSetupHelper is constructed as part of the YARN support in the Driver. The constructor of this class calls the .setup() which in turn (1) creates a JAR file with the global files for (future) Evaluator submissions and (2) Uploads it to the job folder on (H)DFS.
This adds significant delay in the construction of the object graph for the Driver. Hence, the code that creates and uploads the JAR file should be moved to a later stage of the computation, e.g. upon first call of getGlobalResources().
Also, it would be wise to move the code into a Callable or Runnable such that we can move it to a thread as a further optimization after this one is done.
Attachments
Issue Links
- links to