tweise commented on a change in pull request #7099: [FLINK-10887] [jobmaster]
Add source watermark tracking to the JobMaster
URL: https://github.com/apache/flink/pull/7099#discussion_r251560234
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java
##########
@@ -1000,6 +1005,21 @@ public void notifyAllocationFailure(AllocationID
allocationID, Exception cause)
internalFailAllocation(allocationID, cause);
}
+ @Override
+ public CompletableFuture<Object> updateAggregate(String aggregateName,
Object aggregand, byte[] serializedAggregateFunction)
+ throws IOException, ClassNotFoundException {
+
+ AggregateFunction aggregateFunction =
InstantiationUtil.deserializeObject(serializedAggregateFunction,
userCodeLoader);
+
+ Object accumulator = accumulators.get(aggregateName);
Review comment:
Needs synchronization? Or is all access to JobMaster already synchronized?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services