SequenceFile.CompressionType.NONE, new DefaultCodec());
Event e = new EventImpl("EVENT".getBytes());
writer.append(new WriteableEventKey(e), new WriteableEvent(e));
writer.sync();
writer.close();
dos.close(); // It is strange that I have to close the underlying
// FSDataOutputStream.