Mark Payne created NIFI-4562:
--------------------------------
Summary: MergeContent errors with FlowFileHandlingException:
transfer relationship not specified if IOException thrown
Key: NIFI-4562
URL: https://issues.apache.org/jira/browse/NIFI-4562
Project: Apache NiFi
Issue Type: Bug
Components: Extensions
Reporter: Mark Payne
Assignee: Mark Payne
Priority: Major
If an IOException is thrown when merging FlowFiles (for instance out of disk
space or too many open files), it will be converted to a ProcessException, and
BinFiles will catch that. It will then transfer FlowFiles to 'failure' and call
session.commit(). However, if a 'merged' FlowFile already was created then it
does not get removed. As a result, the call to session.commit will throw a
FlowFileHandlingException indicating that the FlowFile's transfer relationship
is not set.
We need to make sure that each of the 'mergers' catches this ProcessException
and removes the created 'bundled' flowfile before re-throwing it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)