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

David Handermann updated NIFI-15693:
------------------------------------
    Status: Patch Available  (was: In Progress)

> Flow Synchronization Fails with empty File User Groups
> ------------------------------------------------------
>
>                 Key: NIFI-15693
>                 URL: https://issues.apache.org/jira/browse/NIFI-15693
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Security
>    Affects Versions: 2.7.2, 2.7.1, 2.8.0, 2.7.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Following recent refactoring of the {{FileUserGroupProvider}} to use DOM 
> instead of JAXB for parsing XML files, flow synchronization between cluster 
> nodes can fail when the users.xml configuration is empty.
> On initial load, the AuthorizedUserGroups record object contains empty 
> immutable Lists of users and groups when the local users.xml configuration is 
> empty. The synchronization process calls {{forciblyInheritFingerprint}} on 
> {{FileUserGroupProvider}} which can result in a 
> {{FlowSynchronizationException}} caused by an 
> {{UnsupportedOperationException}} on the empty immutable Lists in memory.



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

Reply via email to