Loading...
 
Master
The Master is used to execute the program/base64 of a executable (SUBMITTER,WRAPPERCREATOR).
The main purpose is to create an abstraction layer between B-Fabric and the Operating System.

Program flow of a Master

  1. Read the externaljob with the through arguments given externaljob id (-j <externaljob id>).
  2. Read the executable id from the externaljob.
  3. Read the executable with the received executable id.
  4. Read the base64/program from the executable.
    • When returned a base64, it must be decoded.
  5. This base64/program must be (temporary) saved at the file system.
  6. The permissions of the generated file must be modified (chmod 755).
  7. Run the generated file.
    • Receive the output of the run.
  8. Return the output of the run.

tl;dr

externaljob id -> externaljob -> executable id -> executable -> executable -> base64/program -> (decode) -> save on file system -> chmod 755 -> run -> output

Visual

Image


Created by lucas. Last Modification: Friday February 2, 2024 13:34:38 CET by tuerker.