[
https://issues.apache.org/jira/browse/NIFI-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352076#comment-14352076
]
ASF GitHub Bot commented on NIFI-333:
-------------------------------------
GitHub user danbress opened a pull request:
https://github.com/apache/incubator-nifi/pull/33
NIFI-333 part 2
catching ProcessException in HDFS helper classes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/danbress/incubator-nifi NIFI-333a
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-nifi/pull/33.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #33
----
commit 3629d2441bace2a3221fa59c549eea1e6aabb786
Author: danbress <[email protected]>
Date: 2015-03-08T15:12:47Z
NIFI-333 catching ProcessException
instead of Exception for HDFS helper classes
----
> Some Processors catch java.land.Exception and route to 'failure', instead of
> catching ProcessException
> ------------------------------------------------------------------------------------------------------
>
> Key: NIFI-333
> URL: https://issues.apache.org/jira/browse/NIFI-333
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Daniel Ueberfluss
>
> The consequence of this is that if the framework throws a
> FlowFileAccessException, for example, the Processor is catching that and then
> routing to failure, when the framework should be able to catch it and roll
> back the ProcessSession. Specifically, we are seeing this because on of the
> content repository containers ran out of disk space and files were then
> routed to 'failure'. Instead, the session should have been rolled back and
> the FlowFile processed again.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)