[
https://issues.apache.org/jira/browse/NIFI-14625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956634#comment-17956634
]
ASF subversion and git services commented on NIFI-14625:
--------------------------------------------------------
Commit 75bcf0928ad27419ed3e85488d794432429e44ce in nifi's branch
refs/heads/main from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=75bcf0928a ]
NIFI-14625 Remove lookup of registry client node when mapping version control
info
Signed-off-by: Pierre Villard <[email protected]>
This closes #9988.
> Pasting PG under version control with missing registry client causes issues
> ---------------------------------------------------------------------------
>
> Key: NIFI-14625
> URL: https://issues.apache.org/jira/browse/NIFI-14625
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Copy a version controlled PG from one nifi instance to another and the PG
> will show on the canvas with a ? since the registry client id does not exist
> on the second instance. NiFi UI is still usable and you could perform Stop
> Version Control on the PG (if a registry client exists), but while in this
> state the overall flow.json is failing to save and if you continue making
> changes on the canvas and NiFi restarts, all those changes will be lost
> including the pasted PG. The logs will repeatedly print...
> ERROR [Flow Service Tasks Thread-2] o.a.nifi.controller.StandardFlowService
> Unable to save flow controller configuration java.lang.IllegalStateException:
> Process Group refers to a Flow Registry with ID <id> but no Flow Registry
> exists with that ID. Cannot resolve to a URL. at
> org.apache.nifi.registry.flow.mapping.NiFiRegistryFlowMapper.applyVersionControlInformation(NiFiRegistryFlowMapper.java:186)
> at
> org.apache.nifi.registry.flow.mapping.NiFiRegistryFlowMapper.lambda$mapProcessGroup$1(NiFiRegistryFlowMapper.java:170)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)