You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/11/28 06:59:00 UTC

[jira] [Updated] (PHOENIX-6838) Review unpooled HConnection usage

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