slfan1989 opened a new pull request, #5420:
URL: https://github.com/apache/hadoop/pull/5420

   JIRA: YARN-11442. Refactor FederationInterceptorREST Code.
   
   Fix code issues to make code more readable
   1. Add getOrCreateInterceptorForSubCluster method, the parameter is a 
parameter of type SubClusterInfo.
   2. Delete FederationInterceptorREST#getActiveSubclusters, add 
getActiveSubClusters in FederationStateStoreFacade, you can get the return 
result of Collection.
   3. Parallel query code, use Collection's parallelStream method instead of 
thread pool.
   4. Fix CheckStyle Issue.
   5. Improve code comments.


-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to