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

AvroWriter single record with external schema results in data loss

    XMLWordPrintableJSON

Details

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

    Description

      When a split record tries to create single record splits with an external schema, it does not use a record set and fails to write data.

      I have attached a sample flow, if you run a simple flow file through with

      first,last
      fname,lname
      another,name

      you will see the resulting flow files have 0 bytes.

       

      Nifi 1.9.2

      java -version
      openjdk version "1.8.0_201"
      OpenJDK Runtime Environment (build 1.8.0_201-b09)
      OpenJDK 64-Bit Server VM (build 25.201-b09, mixed mode)

      Attachments

        1. getSplitRecord.xml
          49 kB
          Phillip Grenier

        Activity

          People

            turcsanyip Peter Turcsanyi
            pcgrenier Phillip Grenier
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 2h 20m
                2h 20m