Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NIFI: HDFS how to get files under multiple directories?

avatar
Explorer

Hi all


I'm trying to get log files from under multiple directories which are not specified the name like below.

Is it possible that that files are transferred to the host server from hdfs using listHDFS?

It seems that I'm supposed to specify the path exactly, isn't it?

If there is a solution, please let me know.

I appreciate in advance.


이미지-1.png
1 REPLY 1

avatar
Master Guru

@Juhyeon Yun

Configure directory as /user/paxata/job and keep recursive sub directories to true will list all the files in the sub directories.

Similar question reported in this HCC thread.