MAPREDUCE-7158. Inefficient Flush Logic in JobHistory EventWriter. (Zichen Sun via wangda)

Change-Id: I99ace87980da03bb35a8012cea7218d602a8817a
This commit is contained in:
Wangda Tan 2018-11-13 11:25:41 -08:00
parent 076b795b2e
commit 762a56cc64
1 changed files with 0 additions and 1 deletions

View File

@ -93,7 +93,6 @@ public class EventWriter {
wrapper.setType(event.getEventType()); wrapper.setType(event.getEventType());
wrapper.setEvent(event.getDatum()); wrapper.setEvent(event.getDatum());
writer.write(wrapper, encoder); writer.write(wrapper, encoder);
encoder.flush();
if (this.jsonOutput) { if (this.jsonOutput) {
out.writeBytes("\n"); out.writeBytes("\n");
} }