You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "chenkaiyin (Jira)" <ji...@apache.org> on 2021/02/04 03:11:00 UTC
[jira] [Created] (FLINK-21266) The POST request caused a JSON
serialization error
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)