chenkaiyin created FLINK-21266:
----------------------------------
Summary: The POST request caused a JSON serialization error
Key: FLINK-21266
URL:
https://issues.apache.org/jira/browse/FLINK-21266 Project: Flink
Issue Type: Bug
Components: Runtime / REST
Affects Versions: 1.11.3
Reporter: chenkaiyin
The annotation in the document can request the interface directly, but it will return an error directly。
Post /jobs/:job/savepoints
Post /jobs/:job/stop
An error is reported when serializing "{}" in code:
MAPPER.readValue("{}", untypedResponseMessageHeaders.getRequestClass());
(AbstractHandle.java: 150)
The reason is no configuration @Nullable SavepointTriggerRequestBody.class file cancelJob field
--
This message was sent by Atlassian Jira
(v8.3.4#803005)