[
https://issues.apache.org/jira/browse/NIFI-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683601#comment-15683601
]
ASF GitHub Bot commented on NIFI-2927:
--------------------------------------
GitHub user mattyb149 opened a pull request:
https://github.com/apache/nifi/pull/1252
NIFI-2927: Added Validation Query to HiveConnectionPool
Applied change from #986 to HiveConnectionPool
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mattyb149/nifi NIFI-2927
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1252.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1252
----
commit 831b951e166344120b801f30a8b82bcaea9f65ec
Author: Matt Burgess <[email protected]>
Date: 2016-11-15T17:00:46Z
NIFI-2927: Added Validation Query to HiveConnectionPool
----
> HiveConnectionPool - Invalid connections are returned
> -----------------------------------------------------
>
> Key: NIFI-2927
> URL: https://issues.apache.org/jira/browse/NIFI-2927
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
>
> The connections in the HiveConnectionPool controller service become invalid
> for several reasons : session timeout, firewalls block idle connections,
> outages of backend server, etc.
> In the current NiFi release, these connections rest in the pool as good but
> when the user uses one of them, a SocketException: Socket closed error is
> encountered.
> Proposed solution is to implement the same fix as in NIFI-2381, the aim is to
> "pretend periodically to test all the connections, drop the invalid ones,
> create new ones and maintain all the pool healthy."
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)