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: HDFS how to get files under multiple directories?

Highlighted

NIFI: HDFS how to get files under multiple directories?

New Contributor

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

Re: NIFI: HDFS how to get files under multiple directories?

Super 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.

Don't have an account?
Coming from Hortonworks? Activate your account here