[
https://issues.apache.org/jira/browse/NIFI-5262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502973#comment-16502973
]
ASF subversion and git services commented on NIFI-5262:
-------------------------------------------------------
Commit eedf1237a1d94b9d23ad494ce82ffc13eb9f1476 in nifi's branch
refs/heads/master from [~mgaido]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=eedf123 ]
NIFI-5262 - Retrieve file attributes only once in ListFile
Signed-off-by: Pierre Villard <[email protected]>
This closes #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
>
> 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)