<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Why Standalone NiFi (PutHDFS) is slow ingesting small files in HDFS in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219910#M60475</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende  
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Btw, most of the file is small around 10~50 mb, &lt;/P&gt;&lt;P&gt;Upon testing: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;350 Files, 10 mb per file, 1Gbps Network &lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client to Server (SSH)  - 36 secs
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[admin@client1 data]$ cat transfer.logs
Fri May 5 09:42:40 +08 2017
Fri May 5 09:43:16 +08 2017
36 secs&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Server to HDFS - 4,479 secs or 1.27 Hrs 
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[hadoop@master1 data]$ ./puthdfs-stdf.sh
Fri May 5 09:55:53 +08 2017
Fri May 5 11:10:32 +08 2017
4479 sec&lt;/P&gt;&lt;PRE&gt;[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

&lt;/PRE&gt;&lt;P&gt;I haven't install Hadoop client in NIFI Server (a windows server)
&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2017 11:22:16 GMT</pubDate>
    <dc:creator>melvinmendoza</dc:creator>
    <dc:date>2017-05-05T11:22:16Z</dc:date>
    <item>
      <title>Why Standalone NiFi (PutHDFS) is slow ingesting small files in HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219908#M60473</link>
      <description>&lt;P&gt;Having Problem with the slowness of PutHDFS to HDFS.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15042-file1.png" style="width: 797px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15939iE0C6AE927805EC44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="15042-file1.png" alt="15042-file1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15043-file2.png" style="width: 742px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15940i66AD893E4FFEAC0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="15043-file2.png" alt="15043-file2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 02:34:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219908#M60473</guid>
      <dc:creator>melvinmendoza</dc:creator>
      <dc:date>2019-08-18T02:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why Standalone NiFi (PutHDFS) is slow ingesting small files in HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219909#M60474</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 22:25:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219909#M60474</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2017-05-04T22:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why Standalone NiFi (PutHDFS) is slow ingesting small files in HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219910#M60475</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende  
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Btw, most of the file is small around 10~50 mb, &lt;/P&gt;&lt;P&gt;Upon testing: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;350 Files, 10 mb per file, 1Gbps Network &lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client to Server (SSH)  - 36 secs
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[admin@client1 data]$ cat transfer.logs
Fri May 5 09:42:40 +08 2017
Fri May 5 09:43:16 +08 2017
36 secs&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Server to HDFS - 4,479 secs or 1.27 Hrs 
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[hadoop@master1 data]$ ./puthdfs-stdf.sh
Fri May 5 09:55:53 +08 2017
Fri May 5 11:10:32 +08 2017
4479 sec&lt;/P&gt;&lt;PRE&gt;[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

&lt;/PRE&gt;&lt;P&gt;I haven't install Hadoop client in NIFI Server (a windows server)
&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 11:22:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219910#M60475</guid>
      <dc:creator>melvinmendoza</dc:creator>
      <dc:date>2017-05-05T11:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why Standalone NiFi (PutHDFS) is slow ingesting small files in HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219911#M60476</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt; Thanks!&lt;/P&gt;&lt;P&gt;Slow HDFS Put cause by a slow BlockReceiver. &lt;/P&gt;&lt;PRE&gt;2017-06-05 13:17:34,210 WARN  datanode.DataNode (BlockReceiver.java:receivePacket(571)) - Slow BlockReceiver write packet to mirror took 6316ms (threshold=300ms)&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 10:45:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-Standalone-NiFi-PutHDFS-is-slow-ingesting-small-files-in/m-p/219911#M60476</guid>
      <dc:creator>melvinmendoza</dc:creator>
      <dc:date>2017-06-13T10:45:39Z</dc:date>
    </item>
  </channel>
</rss>

