Github user mcgilman commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1117#discussion_r84139832
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
---
@@ -166,15 +167,20 @@ nf.ProcessorDetails = (function () {
// make the scheduling strategy human readable
var schedulingStrategy =
details.config['schedulingStrategy'];
+ var executionNode = details.config['executionNode'];
if (schedulingStrategy === 'EVENT_DRIVEN') {
showRunSchedule = false;
schedulingStrategy = 'Event driven';
} else if (schedulingStrategy === 'CRON_DRIVEN') {
schedulingStrategy = 'CRON driven';
} else if (schedulingStrategy === 'TIMER_DRIVEN') {
schedulingStrategy = "Timer driven";
- } else {
- schedulingStrategy = "On primary node";
+ } else if (schedulingStrategy === 'PRIMARY_NODE_ONLY')
{
--- End diff --
Again, I don't think we want to infer the configuration here. We should
continuing showing 'On primary node' if the component is configured with it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---