/// <exception cref="System.IO.IOException"/> public override JobStatus SubmitJob(JobID jobid, string jobSubmitDir, Credentials credentials) { LocalJobRunner.Job job = new LocalJobRunner.Job(this, JobID.Downgrade(jobid), jobSubmitDir ); job.job.SetCredentials(credentials); return(job.status); }
public override JobStatus GetJobStatus(JobID id) { LocalJobRunner.Job job = jobs[JobID.Downgrade(id)]; if (job != null) { return(job.status); } else { return(null); } }
public override Counters GetJobCounters(JobID id) { LocalJobRunner.Job job = jobs[JobID.Downgrade(id)]; return(new Counters(job.GetCurrentCounters())); }