[ 
https://issues.apache.org/jira/browse/NIFI-7904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211429#comment-17211429
 ] 

Matt Burgess commented on NIFI-7904:
------------------------------------

The validation query isn't meant to do any real work, so I would think the Max 
Wait Time property, or perhaps a DBCP property (which can be set on the 
connection pool as a user-defined aka dynamic property) would suffice? Can you 
explain the use case further?

> Support for validation query timeout in DBCP, Hive & HBase connection pools 
> ----------------------------------------------------------------------------
>
>                 Key: NIFI-7904
>                 URL: https://issues.apache.org/jira/browse/NIFI-7904
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Nadeem
>            Assignee: Nadeem
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Different Implementation of ConnectionPools such as DBCP, Hive/Hive3 and 
> Hadoop doesn't support query timeouts for validation queries. It is good to 
> have timeouts when validation query takes longer time to execute instead of 
> indefinite timeout. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to