[
https://issues.apache.org/jira/browse/NIFI-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589610#comment-15589610
]
ASF GitHub Bot commented on NIFI-401:
-------------------------------------
Github user mcgilman commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1117#discussion_r84139791
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
---
@@ -185,6 +191,19 @@ nf.ProcessorDetails = (function () {
$('#read-only-run-schedule').hide();
}
+ // only show the execution-node when applicable
+ if (executionNode === 'ALL') {
+ executionNode = "All nodes";
+ } else if (executionNode === 'PRIMARY') {
+ executionNode = "Primary node only";
+ }
+ nf.Common.populateField('read-only-execution-node',
executionNode);
+ if (nf.Canvas.isClustered()) {
--- End diff --
Same comment as above regarding determining whether or not we should be
showing the execution node. Since a node can be easily connected/disconnected
we should probably show the execution node if clustered or if the value is
'primary node only'. Should only be hiding this field if the instance is not
clustered and the execution node is 'all'.
> New Scheduling strategy (On primary node - CRON )
> -------------------------------------------------
>
> Key: NIFI-401
> URL: https://issues.apache.org/jira/browse/NIFI-401
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Matthew Clarke
> Priority: Minor
> Attachments: initial prototype .png
>
>
> Currently the only scheduling strategy supported when a processor is set to
> use "On primary Node" is Timer Driven. There should be a second option to
> allow cron driven On primary Node scheduling strategy. This would allow
> users to more control over when a given primary node only processor runs.
> This would prevent these processors from running when configuration changes
> or instance restarts occur.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)