Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-55

Delay the creation and upload of the Global JAR in the YARN runtime Driver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • REEF-Runtime-YARN

    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

          Activity

            People

              markus.weimer Markus Weimer
              markus.weimer Markus Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: