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

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

Github user asfgit closed the pull request at:

    https://github.com/apache/nifi/pull/953


> QueryDatabaseTable should catch avro exceptions
> -----------------------------------------------
>
>                 Key: NIFI-2674
>                 URL: https://issues.apache.org/jira/browse/NIFI-2674
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Bryan Rosander
>            Assignee: Bryan Rosander
>
> If avro throws an org.apache.avro.file.DataFileWriter$AppendWriteException 
> during JdbcCommon.convertToAvroStream(), the exception is uncaught and the 
> error in the log looks like the processor doesn't have a selected 
> relationship for the flowfile rather than the real cause.
> Was able to repro this using 
> https://github.com/brosander/dev-dockerfiles/tree/master/sample-data/nyc_traffic_violations/mysql
> {code}
> docker build -t nyc_traffic_violations_mysql .
> docker run --name nyc_traffic_violations_mysql -e 
> MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=test -d -p 3306:3306 
> nyc_traffic_violations_mysql
> {code}



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

Reply via email to