You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Bathori (Jira)" <ji...@apache.org> on 2023/04/04 14:38:00 UTC

[jira] [Assigned] (NIFI-11342) HDFS processors fail to get ClassloaderIsolationKey at startup

     [ https://issues.apache.org/jira/browse/NIFI-11342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Bathori reassigned NIFI-11342:
-----------------------------------

    Assignee: Mark Bathori

> HDFS processors fail to get ClassloaderIsolationKey at startup
> --------------------------------------------------------------
>
>                 Key: NIFI-11342
>                 URL: https://issues.apache.org/jira/browse/NIFI-11342
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Mark Bathori
>            Assignee: Mark Bathori
>            Priority: Major
>
> At the start of NiFi, the HDFS processors fail to get ClassloaderIsolationKey when only KerberosUserService is provided. The processor tries the get the isolation key by calling the createKerberosUser method on the service but it fails because at the time of method call the controller service is in Disabled state.
> https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-extension-utils/nifi-hadoop-utils/src/main/java/org/apache/nifi/processors/hadoop/AbstractHadoopProcessor.java#L224
>  Error message:
> {code:java}
> Failed to determine ClassLoader Isolation Key for PutHDFS[id=192e8080-0187-1000-ee4f-a7100d9d7dbb]. This could result in unexpected behavior by this processor.: org.apache.nifi.controller.service.ControllerServiceDisabledException: Cannot invoke method public abstract org.apache.nifi.security.krb.KerberosUser org.apache.nifi.kerberos.KerberosUserService.createKerberosUser() on Controller Service with identifier 0e84e32e-0187-1000-5e37-8cd7279916f6 because the Controller Service's State is currently DISABLED{code}
> The problem only occurs after NiFi restart. Adding a new HDFS processor to the canvas and setting the Kerberos UserService can properly get the isolation key.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)