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

MergeContent and queue swapping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.1.0
    • 0.4.0
    • Core Framework
    • None

    Description

      MergeContent will not place more files into bins than the nifi.properties nifi.queue.swap.threshold (default 20,000). This is probably worth a documentation note. Perhaps in the Maximum Number of Entries description in BinFiles. It says "The maximum number of files to include in a bundle. If not specified, there is no maximum." The maximum seems to be = nifi.queue.swap.threshold.

      Test Case: GenerateFlowFile and put about 81,000 files into a queue to MergeContent. Wait for most of them to be swapped out. Set Minimum Number of Entries to 25000. Set Max Bin Age to 1 min. When you start MergeContent, it will wait the Max Bin Age duration, then it will merge 20,000 files (the nifi.queue.swap.threshold).

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              mosermw Michael W Moser
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: