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

Michal Šunka commented on NIFI-8040:
------------------------------------

It seems that issue is still valid at 1.15.3 - I had just observed similar 
behavior - after upgrade from 1.12.1 to 1.15.3 one processor originally 
scheduled to run at "primary node only" was invalid in a new version, and after 
upgrade I was unable to alter the processor through versioning (i.e. 
revert/change version). It keeps failing with "Failed to perform update flow 
request due to Cannot modify Processor configuration while the Processor is 
running" even when the processor in question is invalid due to the missing 
incoming connection AND wrong configuration. Note that manually altering the 
properties (eg primary node only/all nodes) works perfectly fine. Even running 
a flowfile through it works just fine...

> 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
>            Priority: Major
>              Labels: registry
>         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.20.1#820001)

Reply via email to