Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/4763#discussion_r143489310
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/rest/util/RestMapperUtils.java
---
@@ -33,8 +33,7 @@
objectMapper.enable(
DeserializationFeature.FAIL_ON_IGNORED_PROPERTIES,
DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES,
- DeserializationFeature.FAIL_ON_READING_DUP_TREE_KEY,
-
DeserializationFeature.FAIL_ON_MISSING_CREATOR_PROPERTIES);
--- End diff --
Do note that we must be on the look-out for requests that use primitive
fields, as jackson will default them to 0 if they are missing, which will cause
misleading error messages.
---