Support Questions

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

How to configure ListHDFS Nifi on a machine to list all file from HDFS server on other machine?

avatar
Contributor

I have a Nifi cluster on machine A, B, C and a HDFS standalone on machine D. Now I want to get all file from HDFS server and push into nifi cluster to execute jobs.

Please help me to configure this dataflow and how to setup properties on nifi processor.

Thanks,

1 ACCEPTED SOLUTION

avatar
Super Mentor
@Kiem Nguyen

The documentation for the ListHDFS processor can be found imbedded in the imbedded documetation that is accessible via "help".

Latest Apache version doc can also be found here:

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-hadoop-nar/1.2.0/org.apache.n...

You need to get a copy of your core-site.xml and hdfs-site.xml files from your HDFS install and put them in the same place on every NiFi node to be referenced by this processor.

Thanks,

Matt

View solution in original post

2 REPLIES 2

avatar
Super Mentor
@Kiem Nguyen

The documentation for the ListHDFS processor can be found imbedded in the imbedded documetation that is accessible via "help".

Latest Apache version doc can also be found here:

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-hadoop-nar/1.2.0/org.apache.n...

You need to get a copy of your core-site.xml and hdfs-site.xml files from your HDFS install and put them in the same place on every NiFi node to be referenced by this processor.

Thanks,

Matt

avatar
Contributor

It works well. Thanks Matt !!!

Hadoop Configuration Resources Properties: point to core-site.xml and hdfs-site.xml after copying them into each Nifi node.