[ 
https://issues.apache.org/jira/browse/NIFI-5228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484446#comment-16484446
 ] 

Mark Payne commented on NIFI-5228:
----------------------------------

To follow up and close the loop on performance here, after adding this 
property, I see that listing the 7,037 takes about 3 minutes and 20 seconds 
as-is (without the patch), and still takes the same amount of time if the 
property is set to 'true' (the default). However, setting it to 'false' results 
in that listing taking 0.802 seconds.

> Allow user to choose whether or not to add File Attributes as FlowFile 
> Attributes when using FetchFile
> ------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-5228
>                 URL: https://issues.apache.org/jira/browse/NIFI-5228
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.7.0
>
>
> 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.



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

Reply via email to