Support Questions

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

Move files from one location to another once file copied to HDFS

avatar
New Contributor

Need a quick help plz. I am trying to achieve below flow in Nifi :-


1.Copying raw files from the landing zone to HDFS
2.And once successfully copied to HDFS ,trying to move files from the landing zone (raw) to archive

 

I am able to copy from landing zone to HDFS using below flow  GetSFTP--> FetchSFTP --> PUTHDFS

 

But unable to move from landing to archive (2nd step)

1 REPLY 1

avatar
Contributor

Hi,

You can use the MoveHDFS NiFi operator to rename files in HDFS.

 

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

 

Cheers,

Jim