Github user yanghua commented on the issue:
https://github.com/apache/flink/pull/5573
@aljoscha yes, I agree.
> I think it would be good to be able to **query** both representations
The "query" you mean `JobAccumulatorsHandler` or `RestClusterClient`
behavior?
In `JobAccumulatorsHandler#handleRequest` method, we could query the
accumulator's string and serialized representations, and boxed in
`JobAccumulatorsInfo` object.
1. let `getAccumulators` return accumulator's string representations and
`getSerializedAccumulators` method return accumulator's serialized
representations.
2. let `getAccumulators` return both representations?
Which one is your idea?
---