Comments (2)
@MaxSimba - the JDBC connector uses 1 connection from the Hikari pool per query per thread. The PXF JVM will allocate 1 thread for each Greenplum segment collocated on the same host. For eample, if you have 8 GP segments per host, PXF will use 8 JDBC connections per query. If you try to run 2 queries concurrently, then 16 connections will be used. The default configuration sets up the Hikari pool with 15 connections ( https://github.com/greenplum-db/pxf/blob/master/server/pxf-service/src/templates/templates/jdbc-site.xml#L37 ), so in this case 1 thread will wait for a connection for 30 secs and then error out.
You have several options:
- increase number of connections in the pool specified in
jdbc.pool.property.maximumPoolSize
- increase connection timeout
jdbc.pool.property.connectionTimeout
: https://github.com/greenplum-db/pxf/blob/master/server/pxf-service/src/templates/templates/jdbc-site.xml#L42 - if that does not help, disable the connection pool altogether by setting
jdbc.pool.enabled
to false
from pxf.
Looks like this thread has been resolved, so we will be closing this for now. If this issue persists, please reopen this issue or create a new issue with all the details.
from pxf.
Related Issues (20)
- Add support for UUID datatype for JDBC engine HOT 2
- Property SEGMENT-ID has no value in the current request HOT 11
- Failed to install pxf - expected: <5> but was: <0> HOT 3
- Cannot build rpm HOT 3
- PXF - Selecting non-existent parquet files or parquet files with an incomplete schema HOT 2
- How can we collect analytics from PXF logs regarding the work of the pushdown predicate? HOT 4
- Divide Greenplum and PXF on separated servers HOT 1
- make pxf failed HOT 7
- Using a Named Query with Oracle - how exactly works HOT 2
- Allow IN operators in JDBC plugin HOT 2
- Error unexpected end of file HOT 8
- PXF - gs:parquet - Can't get Master Kerberos principal for use as renewer HOT 3
- Parquet data type mapping: support of int64 primitive type for timestamp logical type HOT 1
- pxf make error (make test & make -C) HOT 3
- Compression on external writable tables HOT 1
- failed to load external pxf jdbc table HOT 14
- if we try to install pxf on offline, is it possible? HOT 1
- Pxf error when selecting from hive and inserting into gpdb HOT 2
- 修改PXF_HOST无效,netstat结果pxf进程仍然是监听0.0.0.0:5888,希望监听具体ip HOT 7
- PXF + Hive3 + Hadoop3 with Kerberos HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pxf.