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

Matt Burgess commented on NIFI-2598:
------------------------------------

This is a result of the Kerberos properties being added by the init() method, 
which gets called by the DocGenerator (among other things). As a result, those 
properties are added multiple times, and in the case of the DocGenerator, it 
uses a MockProcessContext which doesn't have valid values for 
nifi.kerberos.krb5.file, etc.

Proposed solution is to move the static init code into the init() method, 
guarded by an initialization flag.

> HiveConnectionPool cannot get to valid state
> --------------------------------------------
>
>                 Key: NIFI-2598
>                 URL: https://issues.apache.org/jira/browse/NIFI-2598
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>             Fix For: 1.0.0
>
>
> When creating a HiveConnectionPool, even if all properties are configured 
> correctly, the controller service is marked as "invalid" with a message that 
> the nifi.kerberos.krb5.file property is not set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to