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

Use NIO.2 API for ListFile to avoid multiple disk reads

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      NIFI-4631 attempted to do something similar but had issues when running against CIFS mounts, reportedly. However, I think the issue was not the use necessarily of NIO.2 but the way in which it was used. It attempted to use walkTree and did did not appear to follow symlinks. As a result, this caused failures in some scenarios. We should look at using NIO.2 and probably obtain a Stream<Path>.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                markap14 Mark Payne
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: