Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-05-2017 11:47 AM
For Ex:
USing getKafka -to read the stream
PutHDFS to write to HDFS
Can it be configured in the processor to create new folders when a new day starts and write the kafka topic data to that folder.
Basically to maintain day wise folders in HDFS using putHDFS processor in nifi.
Created on 09-06-2017 02:17 PM - edited 08-18-2019 02:58 AM
Hi @manisha jain, yep it is possible with PutHDFS processor.
in puthdfs processor keep directory property as
/user/kafka/${now():format("yyyy-MM-dd")}Expression:-PutHDFS properties:-
Created on 09-06-2017 02:17 PM - edited 08-18-2019 02:58 AM
Hi @manisha jain, yep it is possible with PutHDFS processor.
in puthdfs processor keep directory property as
/user/kafka/${now():format("yyyy-MM-dd")}Expression:-PutHDFS properties:-
Created 09-07-2017 04:16 AM
Thanks @Yash i have used the same approach,it works.