[
https://issues.apache.org/jira/browse/NIFI-12321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783383#comment-17783383
]
ASF subversion and git services commented on NIFI-12321:
--------------------------------------------------------
Commit b50557b854a8a3ba4509ab9652ff0ab494b33cc7 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b50557b854 ]
NIFI-12321 Avoid Exceptions when removing Python Processors (#7984)
- Updated StandardPythonBridge.onProcessorRemoved to avoid throwing exceptions
when called with a Processor Type and Version that is not registered
- Updated system-tests workflow to run on changes in the nifi-py4j-bundle
> PythonBridge should not throw Exception for Missing Processor Type
> ------------------------------------------------------------------
>
> Key: NIFI-12321
> URL: https://issues.apache.org/jira/browse/NIFI-12321
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Blocker
> Fix For: 2.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The StandardPythonBridge includes the onProcessorRemoved method to shutdown
> Python Processes related to a given Processor Type and version. The framework
> invocations of onProcessorRemoved may not be aware of whether a Python
> Processor exists for the requested component type and version, so the
> StandardPythonBridge implementation should avoid throwing an exception for
> missing types.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)