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

2023-04-05 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on NIFI-11342:


Commit 79097835a6df718bf4b6756963e4eececd7b5694 in nifi's branch 
refs/heads/support/nifi-1.x from Mark Bathori
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=79097835a6 ]

NIFI-11342: HDFS processors fail to get ClassloaderIsolationKey at startup

This closes #7121.

Signed-off-by: Peter Turcsanyi 


> 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
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)


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

2023-04-05 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on NIFI-11342:


Commit d15eeb445bf38905166dc50a012dcd2787f62646 in nifi's branch 
refs/heads/main from Mark Bathori
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d15eeb445b ]

NIFI-11342: HDFS processors fail to get ClassloaderIsolationKey at startup

This closes #7121.

Signed-off-by: Peter Turcsanyi 


> 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
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)