YARN-4814. ATS 1.5 timelineclient impl call flush after every event write. (Xuan Gong via gtcarrera9)
(cherry picked from commit 3a0b69544183f71c4683bc477656473494fc09d0)
This commit is contained in:
parent
fce39557d3
commit
0ebc947140
@ -276,6 +276,7 @@ private ObjectMapper createObjectMapper() {
|
|||||||
mapper.setAnnotationIntrospector(new JaxbAnnotationIntrospector());
|
mapper.setAnnotationIntrospector(new JaxbAnnotationIntrospector());
|
||||||
mapper.setSerializationInclusion(Inclusion.NON_NULL);
|
mapper.setSerializationInclusion(Inclusion.NON_NULL);
|
||||||
mapper.configure(Feature.CLOSE_CLOSEABLE, false);
|
mapper.configure(Feature.CLOSE_CLOSEABLE, false);
|
||||||
|
mapper.configure(Feature.FLUSH_AFTER_WRITE_VALUE, false);
|
||||||
return mapper;
|
return mapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user