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

Add timeouts to avoid GetSplunk processor hanging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.1
    • 1.16.0, 1.15.1
    • Core Framework
    • NiFi 3 nodes cluster - 40 CPU core +28 GB of RAM per node
    • Important

    Description

      I configured GetSplunk to run on cron schedule every 2 min, sometimes when there's no data to retrieve from Splunk, the job thread hangs with no issues or outputs and keeps running, blocking the new scheduled jobs from starting until I stop--> terminate --> start processor.

       
      1- Why this happened in the first place, that the threads of GetSplunk kept hanging
      2- How to over come such situation in the future? we need to either be notified by some kind of log message or the threads should terminates on their own.
      3- If a thread was hanging, then why subsequent threads didn't execute
       
      I also believe that adding a timeout property to this processor is important

      Attachments

        Issue Links

          Activity

            People

              joewitt Joe Witt
              MichaelElbraish Michael Elbraish
              Votes:
              3 Vote for this issue
              Watchers:
              5 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 20m
                  1h 20m