Created 09-29-2016 01:43 PM
I'm looking to create a file named _SUCCESS in a HDFS location containing some attributes. I reckon I could do this using a script processor but is there another way?
Created 09-29-2016 01:46 PM
You can use the PutHDFS processor.
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.PutHDFS/
This article might help as well:
Created 09-29-2016 01:46 PM
You can use the PutHDFS processor.
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.PutHDFS/
This article might help as well:
Created 09-29-2016 04:18 PM
@Breandán Mac Parland If you are looking for a way to generate a file with the name "_SUCCESS", you can use the GenerateFlowFile processor to generate a file with random data as its content. You can the use an UpdateAttribute processor to set the filename to "_SUCCESS" by adding a new property with a property name equal to "filename" and a value of "_SUCCESS".
Matt