Mark Bathori created NIFI-13722:
-----------------------------------

             Summary: Kerberos ticket renewal issue due static thread pool in 
Iceberg library
                 Key: NIFI-13722
                 URL: https://issues.apache.org/jira/browse/NIFI-13722
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Mark Bathori
            Assignee: Mark Bathori


There is a static worker Thread Pool in Iceberg which is used in multiple parts 
of the library:
https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/util/ThreadPools.java#L45
 
When the PutIceberg processor is started for the first time then this Thread 
Pool will be initialized with the initial Kerberos user and the processor will 
work properly until it is not restarted. When restart happens then a new 
Kerberos user will be initialized but the Thread Pool will still reference to 
the original Kerberos user so when the Kerberos ticket expires for the first 
user then it won't be able to renew it. 
Same issue happens when multiple processors are using the same classloader and 
the processor which initialized the Thread Pool is stopped then the other 
processors will start to fail.



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

Reply via email to