[ 
https://issues.apache.org/jira/browse/PHOENIX-6838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17687407#comment-17687407
 ] 

Istvan Toth commented on PHOENIX-6838:
--------------------------------------

On an another thougth, I have only reviewed the server side code 
(coprocessors), but not the client side occurances.

I got the impression that the rest of the client ConnectionFactory invocations 
are not called from the server side, but having someone do a more thorough 
analysis would not go amiss.

> Review unpooled HConnection usage
> ---------------------------------
>
>                 Key: PHOENIX-6838
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6838
>             Project: Phoenix
>          Issue Type: Task
>          Components: core
>            Reporter: Istvan Toth
>            Assignee: Gourab Taparia
>            Priority: Major
>
> Directly creating HConnections puts load on ZK and Kerberos.
> We ususally sidestep this problem by creating a PhoenixConnection, which 
> re-uses the HConnection object from the appropriate CQSI singleton.
> Review the places where create unpooled HConnections, and switch to pooled 
> PhoenixConnections where it makes sense.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to