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 on 05-04-2017 08:46 AM - edited 08-17-2019 07:34 PM
Created 05-04-2017 03:25 PM
Have you tried installing the hadoop client on the same machine as NiFi and then sending a similar file to HDFS from the command line? In most cases the issue here is the network or disk.
Created 05-04-2017 03:25 PM
Have you tried installing the hadoop client on the same machine as NiFi and then sending a similar file to HDFS from the command line? In most cases the issue here is the network or disk.
Created 05-05-2017 04:22 AM
Btw, most of the file is small around 10~50 mb,
Upon testing:
350 Files, 10 mb per file, 1Gbps Network
Client to Server (SSH) - 36 secs
[admin@client1 data]$ cat transfer.logs Fri May 5 09:42:40 +08 2017 Fri May 5 09:43:16 +08 2017 36 secs
Server to HDFS - 4,479 secs or 1.27 Hrs
[hadoop@master1 data]$ ./puthdfs-stdf.sh Fri May 5 09:55:53 +08 2017 Fri May 5 11:10:32 +08 2017 4479 sec
[client@master1 data]$ cat puthdfs-stdf.sh start=`date +%s` echo `date` hdfs dfs -put *.txt /data/test/testing/ echo `date` end=`date +%s` runtime=$((end-start)) echo $runtime
I haven't install Hadoop client in NIFI Server (a windows server)
Created 06-13-2017 03:45 AM
@Bryan Bende Thanks!
Slow HDFS Put cause by a slow BlockReceiver.
2017-06-05 13:17:34,210 WARN datanode.DataNode (BlockReceiver.java:receivePacket(571)) - Slow BlockReceiver write packet to mirror took 6316ms (threshold=300ms)