You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/26 13:53:00 UTC

[jira] [Commented] (NIFI-7139) Add Error Message To Flow File Attribute for Record Processors

    [ https://issues.apache.org/jira/browse/NIFI-7139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045551#comment-17045551 ] 

ASF subversion and git services commented on NIFI-7139:
-------------------------------------------------------

Commit 0bb8ce7438d9855dcca6bf89e3a672d1f9477593 in nifi's branch refs/heads/master from Shawn Weeks
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0bb8ce7 ]

NIFI-7139 Add record.error.message on failure of a record reader or writer

Handle scenario where message might be null.

Update to test case that was failing because adding attributes modified a flow file even if you don't change the contents.

Fixed Style Issues and Updated WritesAttributes.

Added Test Case for Error Message

Signed-off-by: Matthew Burgess <ma...@apache.org>

This closes #4052


> Add Error Message To Flow File Attribute for Record Processors
> --------------------------------------------------------------
>
>                 Key: NIFI-7139
>                 URL: https://issues.apache.org/jira/browse/NIFI-7139
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Shawn Weeks
>            Assignee: Shawn Weeks
>            Priority: Trivial
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Add an attribute to flow files that fail during record processing containing the error message. This is primarily useful when that error message may be used in downstream processing and is dependent on the Record Reader or Writer raising a meaningful exception. This would be similar to what the Execute SQL Processors does and would add an attribute record.error.message to the flow file on the failure relationship of AbstractRecordProcessor.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)