[ https://issues.apache.org/jira/browse/FLINK-8450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339507#comment-16339507 ]
ASF GitHub Bot commented on FLINK-8450: --------------------------------------- Github user tillrohrmann commented on a diff in the pull request: https://github.com/apache/flink/pull/5309#discussion_r163905384 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/rest/handler/legacy/ExecutionGraphCacheTest.java --- @@ -228,10 +246,10 @@ public void testConcurrentAccess() throws Exception { Collection<AccessExecutionGraph> allExecutionGraphs = allExecutionGraphFutures.get(); --- End diff -- True, thanks for the info. Didn't know `ExecutorCompletionService` before. > Make JobMaster/DispatcherGateway#requestJob type safe > ----------------------------------------------------- > > Key: FLINK-8450 > URL: https://issues.apache.org/jira/browse/FLINK-8450 > Project: Flink > Issue Type: Improvement > Components: Distributed Coordination > Affects Versions: 1.5.0 > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Priority: Minor > Labels: flip-6 > Fix For: 1.5.0 > > > Currently, the {{RestfulGateway#requestJob}} returns a > {{CompletableFuture<AccessExecutionGraph>}}. Since {{AccessExecutionGraph}} > is non serializable it could fail if we execute this RPC from a remote > system. In order to make it typesafe we should change its signature to > {{SerializableExecutionGraph}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)