[
https://issues.apache.org/jira/browse/NIFI-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648497#comment-15648497
]
ASF GitHub Bot commented on NIFI-401:
-------------------------------------
Github user JPercivall commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1185#discussion_r87047335
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-configuration.js
---
@@ -53,17 +53,11 @@ nf.ProcessorConfiguration = (function () {
}
// conditionally support event driven
- if (nf.Canvas.isClustered()) {
+ if (processor.config['schedulingStrategy'] ===
'PRIMARY_NODE_ONLY') {
strategies.push({
text: 'On primary node',
value: 'PRIMARY_NODE_ONLY',
- description: 'Processor will be scheduled on the primary
node on an interval defined by the run schedule.'
- });
- } else if (processor.config['schedulingStrategy'] ===
'PRIMARY_NODE_ONLY') {
- strategies.push({
- text: 'On primary node',
- value: 'PRIMARY_NODE_ONLY',
- description: 'Processor will be scheduled on the primary
node on an interval defined by the run schedule.',
+ description: 'Processor will be scheduled on the primary
node on an interval defined by the run schedule. This option has been
deprecated, please use the Execution Node below.',
--- End diff --
Minor typo (missing a noun after 'Node'), should read: "please use the
'Execution Node' option below."
> 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
> Assignee: Matt Gilman
> Fix For: 1.1.0
>
> 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)