[
https://issues.apache.org/jira/browse/YARN-11435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17760185#comment-17760185
]
ASF GitHub Bot commented on YARN-11435:
---------------------------------------
slfan1989 commented on code in PR #5967:
URL: https://github.com/apache/hadoop/pull/5967#discussion_r1309504955
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/rmadmin/TestFederationRMAdminInterceptor.java:
##########
@@ -120,7 +120,7 @@ public void setUp() {
// Initialize facade & stateSore
stateStore = new MemoryFederationStateStore();
stateStore.init(this.getConf());
- facade = FederationStateStoreFacade.getInstance();
+ facade = FederationStateStoreFacade.getInstance(this.getConf());
Review Comment:
I will read the code carefully to ensure the uniformity of usage. If there
is `configuration` in the usage class involved, we will use
`FederationStateStoreFacade.getInstance(this.getConf())`, if there is no
`configuration` in the usage class involved, we will use Will use
`FederationStateStoreFacade.getInstance()`.
> [Router] FederationStateStoreFacade is not reinitialized with Router conf
> -------------------------------------------------------------------------
>
> Key: YARN-11435
> URL: https://issues.apache.org/jira/browse/YARN-11435
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: federation, router, yarn
> Reporter: Aparajita Choudhary
> Assignee: Aparajita Choudhary
> Priority: Major
> Labels: pull-request-available
>
> FederationStateStoreFacade is not initialized or reinitialized with Router
> conf when used from Router's FederationClientInterceptor. Ends up connecting
> to default memory state store.
> h4.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]