<?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 Fix under replicated blocks very slow in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fix-under-replicated-blocks-very-slow/m-p/211815#M69524</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had an issue with datanodes, resulting in having about 300k under replicated blocks.&lt;/P&gt;&lt;P&gt;DNs are back, blocks are being replicated, but this is very slow, about 1 per second, and I am trying to find a way to speed replication up.&lt;/P&gt;&lt;P&gt;I checked dfs.datanode.balance.bandwidthPerSec, which is set at about 6MB/seconds. My monitoring shows me that on average the rx/tx from each node is about 200k/seconds, so I am way below this limit.&lt;/P&gt;&lt;P&gt;I followed this link &lt;A href="https://community.hortonworks.com/articles/4427/fix-under-replicated-blocks-in-hdfs-manually.html" target="_blank"&gt;https://community.hortonworks.com/articles/4427/fix-under-replicated-blocks-in-hdfs-manually.html&lt;/A&gt; which did not help (use setrep -w 3 on all underreplicated files )&lt;/P&gt;&lt;P&gt;This link &lt;A href="https://community.hortonworks.com/questions/57795/how-to-fix-under-replicated-blocks-fasly-its-take.html" target="_blank"&gt;https://community.hortonworks.com/questions/57795/how-to-fix-under-replicated-blocks-fasly-its-take.html&lt;/A&gt; is not fully applicable (hadoop 2.7) but I set fs.namenode.replication.work.multiplier.per.iteration to 100 (default is 2) without visible speed up.&lt;/P&gt;&lt;P&gt;So my question is: what can I do to fasten replication up?&lt;/P&gt;&lt;P&gt;Context: hdp2.6, AWS, 3 nodes and replication factor = 3.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2017 20:23:20 GMT</pubDate>
    <dc:creator>guillaume_roger</dc:creator>
    <dc:date>2017-10-12T20:23:20Z</dc:date>
    <item>
      <title>Fix under replicated blocks very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fix-under-replicated-blocks-very-slow/m-p/211815#M69524</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had an issue with datanodes, resulting in having about 300k under replicated blocks.&lt;/P&gt;&lt;P&gt;DNs are back, blocks are being replicated, but this is very slow, about 1 per second, and I am trying to find a way to speed replication up.&lt;/P&gt;&lt;P&gt;I checked dfs.datanode.balance.bandwidthPerSec, which is set at about 6MB/seconds. My monitoring shows me that on average the rx/tx from each node is about 200k/seconds, so I am way below this limit.&lt;/P&gt;&lt;P&gt;I followed this link &lt;A href="https://community.hortonworks.com/articles/4427/fix-under-replicated-blocks-in-hdfs-manually.html" target="_blank"&gt;https://community.hortonworks.com/articles/4427/fix-under-replicated-blocks-in-hdfs-manually.html&lt;/A&gt; which did not help (use setrep -w 3 on all underreplicated files )&lt;/P&gt;&lt;P&gt;This link &lt;A href="https://community.hortonworks.com/questions/57795/how-to-fix-under-replicated-blocks-fasly-its-take.html" target="_blank"&gt;https://community.hortonworks.com/questions/57795/how-to-fix-under-replicated-blocks-fasly-its-take.html&lt;/A&gt; is not fully applicable (hadoop 2.7) but I set fs.namenode.replication.work.multiplier.per.iteration to 100 (default is 2) without visible speed up.&lt;/P&gt;&lt;P&gt;So my question is: what can I do to fasten replication up?&lt;/P&gt;&lt;P&gt;Context: hdp2.6, AWS, 3 nodes and replication factor = 3.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 20:23:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fix-under-replicated-blocks-very-slow/m-p/211815#M69524</guid>
      <dc:creator>guillaume_roger</dc:creator>
      <dc:date>2017-10-12T20:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fix under replicated blocks very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fix-under-replicated-blocks-very-slow/m-p/211816#M69525</link>
      <description>&lt;P&gt;The answer pointed at &lt;A href="https://community.hortonworks.com/questions/57795/how-to-fix-under-replicated-blocks-fasly-its-take.html"&gt;https://community.hortonworks.com/questions/57795/how-to-fix-under-replicated-blocks-fasly-its-take.html&lt;/A&gt; is the good one. Those are undocumented features in hadoop 2.7 but they can be set up and used and now I do see that replication is speed up.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 21:03:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fix-under-replicated-blocks-very-slow/m-p/211816#M69525</guid>
      <dc:creator>guillaume_roger</dc:creator>
      <dc:date>2017-10-12T21:03:54Z</dc:date>
    </item>
  </channel>
</rss>

