JobSubmittedEvent jse =
new JobSubmittedEvent(jobId, weirdJob, username, 12345, weirdPath,
jobACLs, weirdJobQueueName);
jh.logEvent(jse, jobId);
JobFinishedEvent jfe =
new JobFinishedEvent(jobId, 12346, 1, 1, 0, 0, new Counters(),
new Counters(), new Counters());
jh.logEvent(jfe, jobId);
jh.closeWriter(jobId);
// Try to write one more event now, should not fail