Created on 12-12-2018 12:45 PM - edited 08-17-2019 03:54 PM
Hello there,
I am using NiFi 1.8.0
I wanna transfer data (about 50,000,000 millions records or upper than it , 6G) from my local to HDFS.
I am using tailFile, mergContent and HDFS processors. With the default config of NiFi and processors (thread = 4) I transfer data about 2:20 ( 390 event per seconds) but data generator 's time is 900,000.
How can I increase performance for this situation?
Created 12-12-2018 12:58 PM
Created 12-12-2018 07:10 PM
You can try to increase concurrent tasks in Processor along with heap size (in conf/bootstrap.conf). Also split your process on two. For example Tail and Merge will work on one server and PutHDFS on another. To make a link between them use port and "Remote input port" group. I hope my advice helps.
Created 12-15-2018 08:29 AM
Thanks for your answering.
I installed NiFi on CentOS7 and I am using single NiFi instance.
heap size = 2G
thead=4
for these situation, How can I solve it?