[
https://issues.apache.org/jira/browse/FLINK-8449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339353#comment-16339353
]
ASF GitHub Bot commented on FLINK-8449:
---------------------------------------
Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/5308#discussion_r163869963
--- Diff:
flink-core/src/main/java/org/apache/flink/api/common/accumulators/AccumulatorHelper.java
---
@@ -173,4 +173,23 @@ public static String getResultsFormatted(Map<String,
Object> map) {
return accumulators;
}
+ /**
+ * Serializes the given accumulators.
+ *
+ * @param accumulators to serialize
+ * @return Map of serialized accumulators
+ * @throws IOException if an accumulator could not be serialized
+ */
+ public static Map<String, SerializedValue<Object>>
serializeAccumulators(Map<String, Accumulator<?, ?>> accumulators) throws
IOException {
--- End diff --
True, will remove it.
> Extend OnCompletionActions to receive AccessExecutionGraph
> ----------------------------------------------------------
>
> Key: FLINK-8449
> URL: https://issues.apache.org/jira/browse/FLINK-8449
> Project: Flink
> Issue Type: Improvement
> Components: Distributed Coordination
> Affects Versions: 1.5.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Major
> Labels: flip-6
> Fix For: 1.5.0
>
>
> The {{OnCompletionAction}} currently only receives the {{JobResult}} when the
> job terminates. For further archiving of the {{ArchivedExecutionGraph}}, we
> should change this to {{AccessExecutionGraph}}. The {{AccessExecutionGraph}}
> contains all the information to derive the {{JobResult}} and additionally the
> information needed for serving information about completed jobs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)