Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5904

PutHive3Streaming incorrectly handles RecordReaderFactoryException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • Extensions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h