Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-12659

If Controller.py process is killed, nifi is not recover from it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-M1, 2.0.0-M2
    • 2.0.0-M3
    • None

    Description

      When you first add a python processor to canvas / restart nifi, for the releated python processor a Controller.py processor is start, which handle communication between python / java, etc..

      If you kill this processor (simulate an error in it, or some other reason the processor die), nifi is not restart it and eventually processor became invalid:

      When this happens, the only solution is to restart nifi.

      This is not good for production use cases (imagine if you realize this error 1 week later) so we need to extend pythonBridge logic to:

      • periodically check status of the started process
      • If process is not running, try to restart it and log the problem into nifi log

      Attachments

        1. Screenshot 2024-01-18 at 9.04.18.png
          512 kB
          Zoltán Kornél Török

        Issue Links

          Activity

            People

              markap14 Mark Payne
              taz1988 Zoltán Kornél Török
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m