You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2021/07/31 13:59:00 UTC

[jira] [Updated] (NIFI-8967) PrimaryNode may not be desired for ListX processors

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

Pierre Villard updated NIFI-8967:
---------------------------------
    Description: 
As of today, many ListX processors are annotated with PrimaryNodeOnly forcing the execution of the processor on the primary node of the cluster. However, in some cases, we may want to execute a ListX>FetchX>PutFile flow on all nodes to make some data available locally to all NiFi nodes.

This JIRA adds the option to set the default execution node in the DefaultSettings annotation, and makes the changes to some of the processors to remove the PrimaryNodeOnly annotation to allow for the execution of the processor on all nodes.

It also changes the state management to use a LOCAL scope when the processor is configured to run on all nodes and a CLUSTER scope when the processor is configured to run on the primary node only.

  was:
As of today, many ListX processors are annotated with PrimaryNodeOnly forcing the execution of the processor on the primary node of the cluster. However, in some cases, we may want to execute a ListX>FetchX>PutFile flow on all nodes to make some data available locally to all NiFi nodes.

This JIRA adds the option to set the default execution note in the DefaultSettings annotation, and makes the changes to some of the processors to remove the PrimaryNodeOnly annotation to allow for the execution of the processor on all nodes.

It also changes the state management to use a LOCAL scope when the processor is configured to run on all nodes and a CLUSTER scope when the processor is configured to run on the primary node only.


> PrimaryNode may not be desired for ListX processors
> ---------------------------------------------------
>
>                 Key: NIFI-8967
>                 URL: https://issues.apache.org/jira/browse/NIFI-8967
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>
> As of today, many ListX processors are annotated with PrimaryNodeOnly forcing the execution of the processor on the primary node of the cluster. However, in some cases, we may want to execute a ListX>FetchX>PutFile flow on all nodes to make some data available locally to all NiFi nodes.
> This JIRA adds the option to set the default execution node in the DefaultSettings annotation, and makes the changes to some of the processors to remove the PrimaryNodeOnly annotation to allow for the execution of the processor on all nodes.
> It also changes the state management to use a LOCAL scope when the processor is configured to run on all nodes and a CLUSTER scope when the processor is configured to run on the primary node only.



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