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

Generate warning for any long-running tasks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • Core Framework
    • None

    Description

      NiFi keeps track of how long any particular call to onTrigger is taking. We should periodically (perhaps every minute) check for any long-running task. If any task has been running more than 5 minutes (or some configurable value), we should log a WARN message with the stack trace for that particular thread, and we should generate a bulletin indicating that the processor has been running for a while.

      Attachments

        Issue Links

          Activity

            People

              turcsanyip Peter Turcsanyi
              markap14 Mark Payne
              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 - 1h 10m
                  1h 10m