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

Base64EncodeContext processor causing content repository to grow in size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.0
    • None
    • Extensions
    • None
    • NiFi Single Node, NiFi Cluster

    Description

      We encountered this bug causing NiFi content repository to grow in size (and not getting cleaned up properly until a restart) when passing flowfiles with empty content to the  Base64EncodeContext processor. This happens in particular when flowfiles with any content are cleaned (i.e., with a ReplaceText processor) then passed with the empty content to the Base64EncodeContent both in decode or encode modality. We observed this behaviour on NiFi 1.10 both on windows and Ubuntu 18.04, java 8 and 11. Here attached a simple template of a flow to reproduce the bug,
      it should generate a few gigabytes of corrupted content repository if run for a couple of minutes. 

      Attachments

        1. Base64EncodeContent_bug.xml
          203 kB
          Stefano Piana

        Activity

          People

            Unassigned Unassigned
            Steto84 Stefano Piana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: