[
https://issues.apache.org/jira/browse/NIFI-7799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Bende updated NIFI-7799:
------------------------------
Fix Version/s: 1.13.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Have DBCPConnectionPool relogin to Kerberos on connection failure
> -----------------------------------------------------------------
>
> Key: NIFI-7799
> URL: https://issues.apache.org/jira/browse/NIFI-7799
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
> Fix For: 1.13.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> An issue can arise (for example when using a Load Balancer and Kerberos)
> where a DBCPConnectionPool can return a connection for which the kerberos
> ticket is not valid for the target node. One example is the case of a load
> balancer in front of an Impala configured for High Availability. When doing a
> rolling restart of Impala, the connection returned points at the load
> balancer but refers to a Kerberos ticket for the Impala node that was
> stopped, causing the controller service to never get successfully connected.
> The DBCPConnectionPool must be restarted in that case.
> Instead, we could catch a connect exception and relogin with Kerberos at that
> point. There may still be connection failures until the node fails over but
> at that point the Kerberos ticket should be good and Impala should return a
> valid connection via the load balancer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)