Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Contributor
Created on 04-18-2019 06:11 PM - edited 08-17-2019 02:27 PM
Creating NIFI workflow
Use below steps to create the whole workflow.
1. Open the Nifi Web UI, download the below processors and configure as described.
a. MergeContent
b. InferAvroSchema
c. PutHive3streaming
2. Now let’s configure them one by one. Right click each processor and configure as shown below.
a. MergeContent
b. InferAvroSchema – In the CSV header definition put all the headers of your data separated by delimiter.
c. PutHive3Streaming – Here we need to configure the record reader. Right click on the processor > configure > Record reader > create new service.
d. Add CSV reader and save.
e. Click on the record reader again and then enable by clicking on middle sign on upper right-side corner.
f. Connect all three processor and address the errors if any. For any configuration reference, you can try importing the attached workflow.
I have attached my workflow in case you want to directly import into your Nifi.
Rasp_new.xml
Links to series