You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marco Gaido (JIRA)" <ji...@apache.org> on 2018/06/04 11:17:00 UTC

[jira] [Created] (NIFI-5262) ListFile should retrieve file attributes only once

Marco Gaido created NIFI-5262:
---------------------------------

             Summary: ListFile should retrieve file attributes only once
                 Key: NIFI-5262
                 URL: https://issues.apache.org/jira/browse/NIFI-5262
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: 1.7.0
            Reporter: Marco Gaido
            Assignee: Marco Gaido


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)