Github user brosander commented on the issue:
https://github.com/apache/nifi/pull/1917
Hey @champagst
Thanks for the contribution! I was digging into the ListHDFS implementation
and I think the reason it doesn't work on nested files might be that it is only
matching against the [file name, not the whole
path.](https://github.com/apache/nifi/blob/e85081ed201bc7413e3d2d062c814e23c0ff5467/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/ListHDFS.java#L406)
Would adding a property that tells the filter to match [on the whole
path](https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html#toString--),
not just the name address your usecase? That way we could default it to false
and prevent existing flows from having their semantics changed.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---