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

Allow user to choose whether or not to add File Attributes as FlowFile Attributes when using ListFile

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

      Description

      The FetchFile processor adds several FlowFIle attributes such as the file's owner, last accessed time, creation time, etc. While these certainly can be useful pieces of information and do serve a purpose, they can be expensive to determine in some configurations. In my use case, I have an Azure File Store mounted to an Ubuntu system with CIFS using SMB 3.0. The remote directory that I am listing has 7,000-8,000 files and takes about 3 minutes to perform the listing with ListFile.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              markap14 Mark Payne
              Reporter:
              markap14 Mark Payne

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment