Mark Payne created NIFI-6677:
--------------------------------

             Summary: ListHDFS can clear state and re-list everything on 
Primary Node change if property was modified before Processor started
                 Key: NIFI-6677
                 URL: https://issues.apache.org/jira/browse/NIFI-6677
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Mark Payne
            Assignee: Mark Payne


If the "Directory" or "File Filter" property is changed in ListHDFS, and then 
the Processor is started, a change in the Primary Node can result in resetting 
the Processor state.

To replicate, create a ListHDFS Processor in a cluster. Configure to point to 
some directory and start the processor running on Primary Node. After the 
listing has completed, disconnect the Primary Node from the cluster to trigger 
the Primary Node to change. At this point, the Processor will reset its state 
and re-list everything.

Note that once NiFi has been restarted, this behavior will no longer exist 
until the Processor's Directory or "File Filter" property is changed again. It 
also will not happen again if the new Primary Node has already reset the state 
as a result of the property change.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to