[
https://issues.apache.org/jira/browse/NIFI-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944789#comment-16944789
]
ASF subversion and git services commented on NIFI-6735:
-------------------------------------------------------
Commit df90c6524695ea10d76d58873dfdf4af4b206a96 in nifi's branch
refs/heads/master from Rob Fellows
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=df90c65 ]
NIFI-6735 - validate components before restarting processors following
parameter context update.
This closes #3782.
Signed-off-by: Mark Payne <[email protected]>
> Updating parameter used by running processor can result in the processor not
> restarting because it doesn't wait for validation to complete.
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-6735
> URL: https://issues.apache.org/jira/browse/NIFI-6735
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.10.0
> Reporter: Rob Fellows
> Assignee: Rob Fellows
> Priority: Major
> Fix For: 1.10.0
>
> Attachments: Processor fails to restart.png
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> There is a timing issue when updating a parameter that is referenced by a
> running processor. Updating the parameter context stops the processor and
> tries to restart it. However, validation of the processor might not be
> complete by the time it is attempted to be restarted and you can get an error
> (see attached image) and the processor does not restart automatically.
>
> Steps to reproduce:
> 1) Create a process group with a ListFile and LogAttribute processor .
> 2) Have the input dir be a parameter on the ListFile. Set the parameter on
> the PG.
> 3) Have that running. Then go change the parameter value on the PG level.
> It will auto-restart for you but fail because validation wasn't done yet for
> ListFIle resulting in a now not running processor.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)