[
https://issues.apache.org/jira/browse/NIFI-5262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502974#comment-16502974
]
ASF GitHub Bot commented on NIFI-5262:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/nifi/pull/2754
> 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
> Priority: Major
> Fix For: 1.7.0
>
>
> 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)