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-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