[
https://issues.apache.org/jira/browse/FLINK-8756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376069#comment-16376069
]
ASF GitHub Bot commented on FLINK-8756:
---------------------------------------
Github user yanghua commented on the issue:
https://github.com/apache/flink/pull/5573
Hi @aljoscha and @tillrohrmann I have tried to put `Map<String,
SerializedValue<Object>>` into `JobAccumulatorsInfo` with two ways :
* a `@JsonProperty`
* marked with `@JsonIgnore` and provide getter and setter
and the two ways both failed with different reason:
* first way : throw a exception : `SerializedValue` no suitable constructor;
* second way : the setted object will be ignore by
`HandlerUtils#sendResponse`
In `JobAccumulatorsHandler#handleRequest` I can not return `Map<String,
SerializedValue<Object>>` directly, because this method's result type must
extends `ResponseBody`.
> Support ClusterClient.getAccumulators() in RestClusterClient
> ------------------------------------------------------------
>
> Key: FLINK-8756
> URL: https://issues.apache.org/jira/browse/FLINK-8756
> Project: Flink
> Issue Type: Improvement
> Components: Client
> Affects Versions: 1.5.0
> Reporter: Aljoscha Krettek
> Assignee: vinoyang
> Priority: Blocker
> Fix For: 1.5.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)