nifi/nifi-nar-bundles/nifi-py4j-bundle/nifi-python-test-extensions
Mark Payne bd11031725
NIFI-12659 Respawn Python Processes on Unexpected Termination
Refactored so that when a Python Process dies, NiFi will detect this, respawn the process, recreate the Processors that exist in the process, re-initialize them, and restart them. In testing, found the PythonControllerInteractionIT had bugs that were causing Python Processors to be re-initialized many times; this resulted in threading issues that caused processors to be invalid, indicating that property descriptors didn't exist, etc. Addressed these concerns in the same commit, since they were necessary to properly run tests

Ensure that ClassLoader is consistently established for python processor proxies; ensure that if we re-initialize python processor the old initialization thread is stopped

This closes #8363

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-15 21:30:55 -06:00
..
src/main/resources/extensions NIFI-12659 Respawn Python Processes on Unexpected Termination 2024-02-15 21:30:55 -06:00
pom.xml NIFI-12361-RC6 prepare for next development iteration 2023-11-22 18:35:27 -06:00