You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2016/08/18 17:06:20 UTC
[jira] [Commented] (NIFI-2598) HiveConnectionPool cannot get to
valid state
[ 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)