MAPREDUCE-7162. TestEvents#testEvents fails. Contributed by Zhaohui Xin.
(cherry picked from commit 1aad99a71813660b83628cacfed393d0b3a123cc)
This commit is contained in:
parent
f089796251
commit
2e6b9b174e
@ -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…
x
Reference in New Issue
Block a user