flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yanghua <...@git.apache.org>
Subject [GitHub] flink issue #5573: [FLINK-8756][Client] Support ClusterClient.getAccumulator...
Date Mon, 26 Feb 2018 08:07:59 GMT
Github user yanghua commented on the issue:

    @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?


View raw message