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

ASF GitHub Bot commented on NIFI-738:
-------------------------------------

GitHub user rdblue opened a pull request:

    https://github.com/apache/incubator-nifi/pull/69

    NIFI-738: Improve error handling for CSV and JSON conversion.

    Changes:
    * Send bad record information on the "incompatible" relationship
    * Use an attribute, "errors" for summarized error messages
    * Send no error content for now, original content can't be accessed
    * Summarize similar error messages with "N similar failures"
    * Add similar error handling to CSV conversion

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rdblue/incubator-nifi 
NIFI-738-fix-conversion-error-handling

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-nifi/pull/69.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 #69
    
----
commit c380e68764aa318e740835011c2e8933f05feb19
Author: Ryan Blue <[email protected]>
Date:   2015-06-28T00:36:42Z

    NIFI-738: Improve error handling for CSV and JSON conversion.
    
    Changes:
    * Send bad record information on the "incompatible" relationship
    * Use an attribute, "errors" for summarized error messages
    * Send no error content for now, original content can't be accessed
    * Summarize similar error messages with "N similar failures"
    * Add similar error handling to CSV conversion

----


> Do not write conversion error messages to flow file content
> -----------------------------------------------------------
>
>                 Key: NIFI-738
>                 URL: https://issues.apache.org/jira/browse/NIFI-738
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 0.1.0
>            Reporter: Ryan Blue
>            Assignee: Ryan Blue
>             Fix For: 0.2.0
>
>
> NIFI-551 extended the error handling provided by the ConvertJSONToAvro 
> processor, but wrote error messages as the content of a file sent on the 
> failure relationship. I think the right thing to do is to output the bad 
> records as the file content and put the error messages in the outgoing 
> attributes.
> NIFI-551 wasn't included in 0.1.0, so changing this behavior is safe. 
> Consequently, I'd like to get this fix into 0.2.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to