slfan1989 commented on code in PR #5260:
URL: https://github.com/apache/hadoop/pull/5260#discussion_r1073381491


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/FederationInterceptorREST.java:
##########
@@ -2496,7 +2497,8 @@ private <R> Map<SubClusterInfo, R> 
invokeConcurrent(Collection<SubClusterInfo> c
     // If there is a sub-cluster access error,
     // we should choose whether to throw exception information according to 
user configuration.
     // Send the requests in parallel.
-    CompletionService<Pair<R, Exception>> compSvc = new 
ExecutorCompletionService<>(threadpool);
+    CompletionService<SubClusterResult<R>> compSvc =

Review Comment:
   Thank you very much for helping to review the code, I will modify the code.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to