[
https://issues.apache.org/jira/browse/YARN-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17699706#comment-17699706
]
Aparajita Choudhary commented on YARN-6526:
-------------------------------------------
[~BilwaST] [~giovanni.fumarola]
I'm wondering what was the reason for making this change? As after this change,
we end up using only 1 connection for every call if SQLFederationStateStore is
Singleton (as accessing class FederationStateStoreFacade is Singleton). {*}And
this causes high latency{*}.
Before this it seemed correct as we were getting a connection from the pool
everytime and returning to it.
> Refactoring SQLFederationStateStore by avoiding to recreate a connection at
> every call
> --------------------------------------------------------------------------------------
>
> Key: YARN-6526
> URL: https://issues.apache.org/jira/browse/YARN-6526
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: federation
> Reporter: Giovanni Matteo Fumarola
> Assignee: Bilwa S T
> Priority: Major
> Fix For: 3.4.0
>
> Attachments: YARN-6526.001.patch, YARN-6526.002.patch,
> YARN-6526.003.patch, YARN-6526.004.patch, YARN-6526.005.patch,
> YARN-6526.006.patch, YARN-6526.007.patch, YARN-6526.008.patch
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]