[
https://issues.apache.org/jira/browse/FLINK-21266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
chenkaiyin updated FLINK-21266:
-------------------------------
Attachment: image-2021-02-04-11-11-03-966.png
> 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
> Priority: Major
> Attachments: image-2021-02-04-11-11-03-966.png
>
>
> 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)