[
https://issues.apache.org/jira/browse/NIFI-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15438247#comment-15438247
]
ASF subversion and git services commented on NIFI-2674:
-------------------------------------------------------
Commit 102a9a2b74968ad111fb54cdaa16a2609ea73e85 in nifi's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=102a9a2 ]
NIFI-2674 - Always adding flow files to result set flowfiles, catching runtime
exceptions while converting to avro
Signed-off-by: Matt Burgess <[email protected]>
This closes #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)