public void runDetached(JobGraph job) throws JobExecutionException, InterruptedException {
		checkNotNull(job, "job is null");

		final CompletableFuture<JobSubmissionResult> submissionFuture = submitJob(job);

		try {
			submissionFuture.get();
		} catch (ExecutionException e) {
			throw new JobExecutionException(job.getJobID(), ExceptionUtils.stripExecutionException(e));
		}
	}
public void runDetached ( JobGraph job ) throws JobExecutionException , InterruptedException { checkNotNull ( job , "job is null" ) ; final CompletableFuture < JobSubmissionResult > submissionFuture = submitJob ( job ) ; try { submissionFuture . get ( ) ; } catch ( ExecutionException e ) { throw new JobExecutionException ( job . getJobID ( ) , ExceptionUtils . stripExecutionException ( e ) ) ; } }
This method executes a job in detached mode. The method returns immediately after the job
has been added to the

@param job  The Flink job to execute

@throws JobExecutionException Thrown if anything went amiss during initial job launch,
or if the job terminally failed.