Vasily Gudoshnikov created NIFI-8040:
----------------------------------------

             Summary: Failed to update Flow on all nodes in cluster due to 
Cannot modify Processor configuration while the Processor is running
                 Key: NIFI-8040
                 URL: https://issues.apache.org/jira/browse/NIFI-8040
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Vasily Gudoshnikov
         Attachments: ProcessorNode.patch, image-2020-11-24-15-57-26-995.png

Relates to NIFI-5227

Steps to reproduce:
 # Create a simple flow: *GenerateFlowFile + UpdateAttribute*. Ensure both 
processors have valid state.
 # Commit flow to a registry.
 # Remove connection between processors or do something else to move 
*UpdateAttribute* in invalid state.
 # Commit flow to a registry.
 # Change flow version to "1". *UpdateAttribute* should be valid now.
 # Run *UpdateAttribute* 
 # Change flow version to "2". Ensure *UpdateAttribute* has invalid state now.
 # Change flow version back to "1".

You will see error message _"Failed to update Flow on all nodes in cluster due 
to Cannot modify Processor configuration while the Processor is running"._

_!image-2020-11-24-15-57-26-995.png!_

Error message for single node (non cluster) will be similar.

See attached patch. My solution is quite simple but I don't sure may be it is 
not good enough.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to