Bilwa S T commented on YARN-6526:

Thanks [~elgoiri] for reviewing. I have updated patch

* Before i was decreasing connection count when its closed. In that case 
without this fix connection count will be 0 as connection gets created and 
closed in single call. So currently i am not decreasing it when its closed. So 
without fix no of connections will be 4(added 2 more queries ).
*  Yes i moved it to debug. I thought init will be called only once. But looks 
like FederationStateStoreService doesn't use FederationStateStoreFacade so it 
calls init again

> 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

This message was sent by Atlassian Jira

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

Reply via email to