nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Fellows (Jira)" <j...@apache.org>
Subject [jira] [Updated] (NIFI-6735) Updating parameter used by running processor can result in the processor not restarting because it doesn't wait for validation to complete.
Date Tue, 01 Oct 2019 20:08:00 GMT

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

Rob Fellows updated NIFI-6735:
------------------------------
    Status: Patch Available  (was: In Progress)

> 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: 10m
>  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)

Mime
View raw message