Hi All,

I have a requirement to write a data stream into HDFS, where the flowfiles
received per day are group into a directory. e.g. so I would end up with a
folder structure as follows:

data/18-04-16
data/19-04-16
data/20-04-16 ... etc

Currently I can specify in the config for the putHDFS processor a target
directory but I want this to change and point to a new directory as each
day ends.

So using nifi id like to 1) be able to create new directories in HDFS
(although I could potentially write a bash script to do the directory
creation) and 2) change the target directory as the day changes.

Any help much appreciated,

Mike

Reply via email to