Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi - copy arbitrary number of files based on flowfile attribute

Nifi - copy arbitrary number of files based on flowfile attribute

New Contributor

Hi to all,

I've got folder on HDFS with multiple files with the same identifier in the filename, i.e.

XXXX_XXXX_XXXX_XXXX_1944_XXXX_XXXX.parquet (1944 is identifier)

How can I copy only first three or only three files with the same identifier to another folder on HDFS using Nifi?

Any ideas how to achieve that? I would appreciate it a lot.

Thank you,

Tom