[
https://issues.apache.org/jira/browse/NIFI-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543520#comment-16543520
]
Mark Payne commented on NIFI-5426:
----------------------------------
[~mgaido] thanks for knocking that out! I was able to test and verify that
things appear to work well on my system. Code review all looks good as well. +1
merged to master. Thanks again!
> Use NIO.2 API for ListFile to avoid multiple disk reads
> -------------------------------------------------------
>
> Key: NIFI-5426
> URL: https://issues.apache.org/jira/browse/NIFI-5426
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Mark Payne
> Priority: Major
> Fix For: 1.8.0
>
>
> NIFI-4631 attempted to do something similar but had issues when running
> against CIFS mounts, reportedly. However, I think the issue was not the use
> necessarily of NIO.2 but the way in which it was used. It attempted to use
> walkTree and did did not appear to follow symlinks. As a result, this caused
> failures in some scenarios. We should look at using NIO.2 and probably obtain
> a Stream<Path>.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)