Github user rkarthik29 commented on the issue:
https://github.com/apache/nifi/pull/1355
added a property to executeSTreamCommand "Redirect Error Output".
[log,output stream, error stream]. log is the default.
When set to log, the error stream is captured and output is logged to the
Nifi app logs at the warn level.Also, the errors are available in the original
stream as an attribute, which is the current behavior.
When set to output stream, the redirecterrorstream is set to true so all
errors go to the output streams and are available in the output stream relation
when set to error stream, the error output is forwarded to an errorflowfile
which is available in the error stream relationship.The error stream
relationship is new.
Added a process.destroyforcibly of the processor unscheduled event.
Checked execute process, it was already capturing the error stream, so no
change needed.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---