[ https://issues.apache.org/jira/browse/NIFI-6684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935876#comment-16935876
]
jamescheng commented on NIFI-6684:
----------------------------------
Hi [~AxelSync], I used DBCP2 to replace DBCP library in Hive3ConnectionPool so it can support
MAX_CONN_LIFETIME and SOFT_MIN_EVICTABLE_IDLE_TIME properties. I'm still testing it and
will provide the PR later.
> Add more property to Hive3ConnectionPool
> ----------------------------------------
>
> Key: NIFI-6684
> URL: https://issues.apache.org/jira/browse/NIFI-6684
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: jamescheng
> Assignee: Peter Wicks
> Priority: Minor
> Attachments: PutHive3 enhance.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Hive3ConnectionPool is similar with DBCPConnectionPool as both of them are using DBCP
BasicDataSource. However, Hive3ConnectionPool doesn't provide some properties of what DBCPConnectionPool
has. Such as "Minimum Idle Connections", "Max Idle Connections", "Max Connection Lifetime",
"Time Between Eviction Runs", "Minimum Evictable Idle Time" and "Soft Minimum Evictable Idle
Time".
> This improvement is try to provide more properties for developer to set.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
|