YARN-4814. ATS 1.5 timelineclient impl call flush after every event write. (Xuan Gong via gtcarrera9)

This commit is contained in:
Li Lu 2016-03-15 11:40:54 -07:00
parent 22ca176dfe
commit 3a0b695441

View File

@ -276,6 +276,7 @@ private ObjectMapper createObjectMapper() {
mapper.setAnnotationIntrospector(new JaxbAnnotationIntrospector());
mapper.setSerializationInclusion(Inclusion.NON_NULL);
mapper.configure(Feature.CLOSE_CLOSEABLE, false);
mapper.configure(Feature.FLUSH_AFTER_WRITE_VALUE, false);
return mapper;
}