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

ListFile should retrieve file attributes only once

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • Extensions
    • None

    Description

      The ListFile processor retrieves many times file information like the length, the lastModifiedTime, the isDirectory attribute. If the filesystem is remote, each of these method calls is blocking and involving a communication with the remote system.

      We should avoid to retrieve the info more than once in order to improve performances.

      Attachments

        Issue Links

          Activity

            People

              mgaido Marco Gaido
              mgaido Marco Gaido
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: