String path = "file://" + f + "/%Y-%m-%d/";
EventSink snk = new HiveNotifyingDfsSink(path, "file-%{host}", "hivetable",
new AvroJsonOutputFormat(), hfrh);
snk.open();
long day_millis = 1000 * 60 * 60 * 24;
Event e1 = new EventImpl(new byte[0], Clock.unixTime(), Priority.INFO, 0,
"localhost");
Event e2 = new EventImpl(new byte[0], e1.getTimestamp() + day_millis,
Priority.INFO, 0, "localhost");