[ 
https://issues.apache.org/jira/browse/PHOENIX-6838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth updated PHOENIX-6838:
---------------------------------
    Description: 
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.

  was:
Directly creating HConnections puts load on ZK and Kerberos.

We ususally sidestep this problem by creating a PhoenixConnection, which 
re-uses a pooled HConnection object.

Review the places where create unpooled HConnections, and switch to pooled 
PhoenixConnections where it makes sense.


> 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
>            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