[ https://issues.apache.org/jira/browse/YARN-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17097545#comment-17097545 ]
Giovanni Matteo Fumarola commented on YARN-6526: ------------------------------------------------ Currently the code get a connection from HikariPool and close the connections at the end of the query. {code:java} conn = getConnection(); cstmt = conn.prepareCall(CALL_SP_REGISTER_SUBCLUSTER); -------------------- FederationStateStoreUtils.returnToPool(LOG, cstmt, conn);{code} I would like to see if we can remove the cstmt creation and deletion. I don't know if it is possible or not. If not, we can close the jira. > 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 > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org