[
https://issues.apache.org/jira/browse/NIFI-7073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Hogue updated NIFI-7073:
--------------------------------
Summary: PutHDFS silently ignores exceptions when closing temporary file
output stream (was: PutHDFS silently ignores exceptions when writing temporary
file)
> PutHDFS silently ignores exceptions when closing temporary file output stream
> -----------------------------------------------------------------------------
>
> Key: NIFI-7073
> URL: https://issues.apache.org/jira/browse/NIFI-7073
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.11.0
> Reporter: Michael Hogue
> Priority: Major
>
> The PutHDFS processor can silently fail when closing an output stream when
> it's finished writing FlowFiles to a temporary space in HDFS.
> {{DFSOutputStream}} can throw an {{IOException}} when it's closed and that's
> ignored by the processor. This results in the FlowFile getting dropped (e.g.
> a loss of data) when it should be routed to the failure relationship.
>
> Instead, the exception should be caught & thrown and the FlowFile should be
> routed to the failure relationship.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)