You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2026/03/13 09:21:00 UTC

[jira] [Commented] (NIFI-15698) NiFi Python bridge startup hang

    [ https://issues.apache.org/jira/browse/NIFI-15698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18065595#comment-18065595 ] 

Pierre Villard commented on NIFI-15698:
---------------------------------------

[~distroit] - thanks for the very detailed steps and the repository to reproduce the problem, this has been extremely useful to work on this issue.

> NiFi Python bridge startup hang
> -------------------------------
>
>                 Key: NIFI-15698
>                 URL: https://issues.apache.org/jira/browse/NIFI-15698
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.6.0, 2.8.0
>         Environment: Docker, Docker image (apache/nifi:2.6.0)
>            Reporter: Dmitry Adarov
>            Assignee: Pierre Villard
>            Priority: Major
>
> NiFi can hang during startup when loading a persisted flow containing many Python processors. In the failing case, the process remains alive, but startup stalls during Python processor initialization and does not reach the normal Started Server / Started Application completion markers.  
> This reproduces on the official apache/nifi:2.6.0 image using the container’s default bundled Python 3.11.x, a synthetic Python extension NAR, and a generated persisted flow.json.gz containing many no-op Python processor instances. The issue is nondeterministic: it may not reproduce on the first attempt, but repeated restarts of the same container with the same persisted flow can trigger the stalled startup.  
> In the failing state, logs stop progressing during Python processor creation, while Java thread dumps show blocking in the Python bridge path around NiFiPythonGateway and StandardPythonBridge.createProcessor(...).
> How to reproduce issue: [https://github.com/distroitt/nifi-bug]
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)