MAPREDUCE-7162. TestEvents#testEvents fails. Contributed by Zhaohui Xin.
This commit is contained in:
parent
2730ead6b1
commit
1aad99a718
@ -94,6 +94,7 @@ synchronized void write(HistoryEvent event) throws IOException {
|
||||
wrapper.setEvent(event.getDatum());
|
||||
writer.write(wrapper, encoder);
|
||||
if (this.jsonOutput) {
|
||||
encoder.flush();
|
||||
out.writeBytes("\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user