[
https://issues.apache.org/jira/browse/NIFI-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051991#comment-16051991
]
Joseph Percivall commented on NIFI-4075:
----------------------------------------
Hey [~bbende],
I'm throwing together a PR to add the ScheduledStateLookup for
RemoteGroupPorts. Essentially just adding it to the StandardFlowSerializer in
the same way.
I also noticed the addReportingTask is adding the ScheduledState in the old
way[1] but ScheduledStateLookup doesn't have an implementation for reporting
task nodes[2]. Should that be added to the ScheduledStateLookup? [~markap14]
may have more information since he did the original commit.
[1]
https://github.com/apache/nifi/blob/5cb928131ca418c67827a536b02a046b34d14c7f/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/serialization/StandardFlowSerializer.java#L513-L513
[2]
https://github.com/apache/nifi/blob/5cb928131ca418c67827a536b02a046b34d14c7f/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/serialization/ScheduledStateLookup.java#L30-L30
> Inconsistent State for RPGs
> ---------------------------
>
> Key: NIFI-4075
> URL: https://issues.apache.org/jira/browse/NIFI-4075
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Bryan Bende
> Priority: Blocker
> Fix For: 1.4.0
>
>
> It was reported on the mailing list that RPGs were shown as
> enabled/transmitting in the UI, but were not actually running.
> After investigating, it appears this could be related to NIFI-3900 that was
> addressed in 1.3.0.
> That fix introduced a ScheduledStateLookUp which was used for determining the
> state of processors and ports, for example:
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/serialization/StandardFlowSerializer.java#L354
> But it appears to not be used for RemoteGroupPorts:
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/serialization/StandardFlowSerializer.java#L314
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)