[ https://issues.apache.org/jira/browse/NIFI-5904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Villard updated NIFI-5904: --------------------------------- Resolution: Fixed Fix Version/s: 1.9.0 Status: Resolved (was: Patch Available) > PutHive3Streaming incorrectly handles RecordReaderFactoryException > ------------------------------------------------------------------ > > Key: NIFI-5904 > URL: https://issues.apache.org/jira/browse/NIFI-5904 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Reporter: Matt Burgess > Assignee: Matt Burgess > Priority: Major > Fix For: 1.9.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > When there is an empty file in HDFS location and same is sent to > PutHive3Streaming processor, it throws RecordReaderFactoryException and keeps > on trying to process the file. In this case the exception is due to the fact > that the AvroReader expects an embedded schema but one does not exist in the > (empty) file. > This is a bug, as it should only rollback the session if Rollback On Failure > is true, otherwise it should route the flow file to failure. -- This message was sent by Atlassian JIRA (v7.6.3#76005)