You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/03 16:11:00 UTC

[jira] [Commented] (NIFI-543) Provide extensions a way to indicate that they can run only on primary node, if clustered

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

ASF GitHub Bot commented on NIFI-543:
-------------------------------------

GitHub user zenfenan opened a pull request:

    https://github.com/apache/nifi/pull/2509

    NIFI-543 Added annotation to indicate processor should run only on Primary Node

    Thank you for submitting a contribution to Apache NiFi.
    
    In order to streamline the review of the contribution we ask you
    to ensure the following steps have been taken:
    
    ### For all changes:
    - [x] Is there a JIRA ticket associated with this PR? Is it referenced 
         in the commit message?
    
    - [x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
    
    - [x] Has your PR been rebased against the latest commit within the target branch (typically master)?
    
    - [ ] Is your initial contribution a single, squashed commit?
    
    ### For code changes:
    - [x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
    - [x] Have you written or updated unit tests to verify your changes?
    - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? 
    - [ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
    - [ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
    - [ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?
    
    ### For documentation related changes:
    - [x] Have you ensured that format looks appropriate for the output in which it is rendered?
    
    ### Note:
    Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zenfenan/nifi NIFI543

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/2509.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2509
    
----
commit d1290d03e68cac77e6e1f332368bbadc8ced9043
Author: zenfenaan <si...@...>
Date:   2018-01-12T17:15:13Z

    NIFI-4770 ListAzureBlobStorage now properly writes azure.container flowfile attribute

commit 615f3ebc10d94f37c7463ae2d240582397e6ce8c
Author: zenfenan <si...@...>
Date:   2018-01-23T16:30:38Z

    Merge branch 'master' of https://github.com/apache/nifi

commit f597a9b7aa11a48ff46931b73da216c8426542e4
Author: zenfenan <si...@...>
Date:   2018-01-26T04:42:32Z

    Merge remote-tracking branch 'nifi/master'

commit b546f22cfe103eca83f2e32b71d0011927a7f0ce
Author: zenfenan <si...@...>
Date:   2018-01-29T09:53:35Z

    Merge remote-tracking branch 'nifi/master'

commit d0b14da7ab85006a9f8ea1c936e2fdfe18966f7e
Author: zenfenan <si...@...>
Date:   2018-02-12T15:09:48Z

    Merge remote-tracking branch 'nifi/master'

commit 10a5fc1bdc4c83e48e5074e714b03a3e3f51281c
Author: zenfenan <si...@...>
Date:   2018-02-22T16:36:55Z

    Merge remote-tracking branch 'nifi/master'

commit fad944f869268bd0f730d55f15db9af386bc3a86
Author: zenfenan <si...@...>
Date:   2018-03-02T16:59:06Z

    Merge remote-tracking branch 'nifi/master'

commit b7f60cc5c0d59267487be2cb4417fd692f28ccfe
Author: zenfenan <si...@...>
Date:   2018-03-03T15:44:51Z

    NIFI-543 Added annotation to restrict processor to run only on the primary node

----


> Provide extensions a way to indicate that they can run only on primary node, if clustered
> -----------------------------------------------------------------------------------------
>
>                 Key: NIFI-543
>                 URL: https://issues.apache.org/jira/browse/NIFI-543
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Core Framework, Documentation &amp; Website, Extensions
>            Reporter: Mark Payne
>            Assignee: Sivaprasanna Sethuraman
>            Priority: Major
>
> There are Processors that are known to be problematic if run from multiple nodes simultaneously. These processors should be able to use a @PrimaryNodeOnly annotation (or something similar) to indicate that they can be scheduled to run only on primary node if run in a cluster.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)