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

Istvan Toth updated PHOENIX-6873:
---------------------------------
    Description: 
We use 
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(Configuration)
 in  
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(Configuration)
 .

While this is highly situational, this can also be a perf issue.

We are already opening a PhoenixConnection, we can the take the (H)Connection  
from there, which solves all caching/pooling issues.

  was:
We use 
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(Configuration)
 in  
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(Configuration)
 .

While this is highly situational, 


> Use cached Connection in IndexHalfStoreFileReaderGenerator
> ----------------------------------------------------------
>
>                 Key: PHOENIX-6873
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6873
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> We use 
> org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(Configuration)
>  in  
> org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(Configuration)
>  .
> While this is highly situational, this can also be a perf issue.
> We are already opening a PhoenixConnection, we can the take the (H)Connection 
>  from there, which solves all caching/pooling issues.



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

Reply via email to