Github user zenfenan commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2509#discussion_r180495978
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-configuration.js
 ---
    @@ -741,8 +742,8 @@
                             }
                         });
     
    -                    // show the execution node option if we're cluster or 
we're currently configured to run on the primary node only
    -                    if (nfClusterSummary.isClustered() || executionNode 
=== 'PRIMARY') {
    +                    // show the execution node option if we're clustered 
and execution node is not restricted to run only in primary node
    +                    if (nfClusterSummary.isClustered() && 
executionNodeRestricted !== true) {
    --- End diff --
    
    No. If we add `executionNode === 'PRIMARY'` then the UI will show the 
dropdown menu for `ExecutionNodes`. Moreover, why should we need the ability to 
change to `All Nodes` in the said scenario because it is running in standalone 
mode, right? Primary Node or All Nodes doesn't make sense in standalone mode. 
Correct?


---

Reply via email to