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

Failed to stop failing processor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.3.0
    • 0.5.0
    • Core Framework
    • None

    Description

      The issue manifested itself with some failure in GetKafka. The thread dump appears to be pointing to deadlock originated with some Zookeeper failure

      The general background to this is that in various cases there is a very key lock involved in ensuring the consistency of the nifi configuration. This is evident in the pathological case of a processor which for example has an OnScheduled method that never finishes. If the the user starts such a processor it will never actually start and further if they then try to stop that processor it will block indefinitely. The framework has to handle such cases in a deterministic manner and without resorting to blocking because no single bad processor should be able to bring down the house in such a case. This is not only present in this suggested path. It would apply to others so this needs holistic review and approach. Again, whenever this occurs it is a buggy and broken processor. But the framework must be able to handle these chaos monkey type processors in a deterministic manner.

      Attachments

        1. thread-dump.txt
          109 kB
          Oleg Zhurakousky

        Issue Links

          Activity

            People

              ozhurakousky Oleg Zhurakousky
              ozhurakousky Oleg Zhurakousky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: