Github user GJL commented on the issue:
https://github.com/apache/flink/pull/5573
@yanghua
I talked to @tillrohrmann offline, and we decided it is enough to add a
query parameter such as `includeSerializedValue` to the
`JobAccumulatorsHandler`. If `includeSerializedValue` is `true`, then
`SerializedValue` should be part of the JSON response (in addition to the
stringified value), otherwise only the stringified value. By default
`includeSerializedValue` should be `false` because the Web UI cannot handle
binary data. For the request in `RestClusterClient` you would always set the
flag to `true`.
Let me know if you have any questions.
cc: @tillrohrmann
---