[ 
https://issues.apache.org/jira/browse/YARN-11442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shilun Fan updated YARN-11442:
------------------------------
        Parent: YARN-10146
    Issue Type: Sub-task  (was: Improvement)

> Refactor FederationInterceptorREST Code
> ---------------------------------------
>
>                 Key: YARN-11442
>                 URL: https://issues.apache.org/jira/browse/YARN-11442
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: federation, router
>    Affects Versions: 3.4.0
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to