public void submitNewJob() throws IOException, InterruptedException { org.apache.hadoop.mapreduce.JobID jobId = jobTracker.getNewJobID(); LOG.info("Obtained from Jobtracker jobid = " + jobId); FakeJobs job = new FakeJobs("job1", 0, numMaps, numReduces); SimulatorJobCache.put(org.apache.hadoop.mapred.JobID.downgrade(jobId), job); jobTracker.submitJob(jobId); }
public void submitNewJob() throws IOException, InterruptedException { org.apache.hadoop.mapreduce.JobID jobId = jobTracker.getNewJobID(); LOG.info("Obtained from Jobtracker jobid = " + jobId); FakeJobs job = new FakeJobs("job1", 0, numMaps, numReduces); SimulatorJobCache.put(org.apache.hadoop.mapred.JobID.downgrade(jobId), job); jobTracker.submitJob(jobId, "dummy-path", null); }