LOG.info("Waiting for job to finish");
job = client.waitForCompletion(jobID, 600000, 5000);
LOG.info("Job status: " + job.getStatus());
LOG.info("Killing jobs using jobID");
final Job killedJob = client.killJob(jobID);
LOG.info("Job status: " + killedJob.getStatus());
LOG.info("Done");
}
}