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

ExecuteStreamCommand tasks stuck

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 1.5.0
    • None
    • Extensions
    • None
    • Oracle Linux 6.8, NiFi 1.5.0

    Description

      there is no way to stop/kill processes, executed by ExecuteStreamCommand. Steps to reproduce:

      1. In ExecuteStreamCommand processer, use sleep as a command, and 1000000 as argument - this will make it run for a while. Set ignore STDIN to true.
      2. Run the flow and stop ExecuteStreamCommand processor - it will stop but not really. the task will be stuck forever and the only workaround I found is to restart nifi service which is not cool at all.
      3. to make it worse, processor would not accept new flowfiles and you cannot Run it. Only restart fixes the issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            boristyukin Boris Tyukin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: