code: public void submit(final File clrFolder, final boolean submitDriver,
                       final boolean local, final Configuration clientConfig) {
      try (final LoggingScope ls = this.loggingScopeFactory.driverSubmit(submitDriver)) {
        if (!local) {
          this.driverConfiguration = Configurations.merge(this.driverConfiguration, getYarnConfiguration());
        }
  
        try {
          addCLRFiles(clrFolder);
        } catch (final BindException e) {
          LOG.log(Level.FINE, "Failed to bind", e);
        }
        if (submitDriver) {
          this.reef.submit(this.driverConfiguration);
        } else {
          final File driverConfig = new File(System.getProperty("user.dir") + "/driver.config");
          try {
            new AvroConfigurationSerializer().toFile(Configurations.merge(this.driverConfiguration, clientConfig),
                driverConfig);
            LOG.log(Level.INFO, "Driver configuration file created at " + driverConfig.getAbsolutePath());
          } catch (final IOException e) {
            throw new RuntimeException("Cannot create driver configuration file at " + driverConfig.getAbsolutePath(), e);
          }
        }
      }
    }
docs: Launch the job driver.
  
  @throws org.apache.reef.tang.exceptions.BindException configuration error.