GitHub user adyoun2 opened a pull request:
https://github.com/apache/nifi/pull/3033
NIFI-5629 GetFile vast listing performance
See related PR. When the number of files to pickup becomes a certain size,
the OS can become slow performing the listing, so re-use this listing multiple
times.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/adyoun2/nifi
NIFI-5629-GetFile-vast-directory-re-use-listing
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/3033.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3033
----
commit d06534647b7d2aef2069dfebebf4bea3651a8b69
Author: adyoun2 <adam.y@...>
Date: 2018-09-26T16:14:55Z
NIFI-5629 GetFile continues to use the same listing stream until 10000
files or no files remain
----
---