code: public String submit(final Configuration driverConfig, final long waitTime) {
      this.reef.submit(driverConfig);
      this.waitForStatus(waitTime, LauncherStatus.SUBMITTED);
      return this.jobId;
    }
docs: Submit REEF job asynchronously and do not wait for its completion.
  
  @param driverConfig configuration of hte driver to submit to the RM.
  @return ID of the new application.