You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/21 12:20:00 UTC

[jira] [Commented] (YARN-11442) Refactor FederationInterceptorREST Code

    [ https://issues.apache.org/jira/browse/YARN-11442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17691566#comment-17691566 ] 

ASF GitHub Bot commented on YARN-11442:
---------------------------------------

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.




> Refactor FederationInterceptorREST Code
> ---------------------------------------
>
>                 Key: YARN-11442
>                 URL: https://issues.apache.org/jira/browse/YARN-11442
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: federation, router
>    Affects Versions: 3.4.0
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>
> 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 message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org