<?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: HDFS - Under-Replicated Blocks, Corrupt Blocks in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16910#M52305</link>
    <description>&lt;A href="https://github.com/cloudera/hadoop-common/blob/cdh5-2.3.0_5.0.0/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java#L283" target="_blank"&gt;https://github.com/cloudera/hadoop-common/blob/cdh5-2.3.0_5.0.0/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java#L283&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That shows the default in CDH 5.0.0 is 512 as well. Please try the steps I&lt;BR /&gt;provided earlier and let me know if it helped.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Aug 2014 01:18:56 GMT</pubDate>
    <dc:creator>GautamG</dc:creator>
    <dc:date>2014-08-14T01:18:56Z</dc:date>
    <item>
      <title>HDFS - Under-Replicated Blocks, Corrupt Blocks</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16902#M52302</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting below errors when I ran "hadoop fsck /" command. Please help me on this.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/user/accumulo/.Trash/Current/&lt;/P&gt;&lt;DIV&gt;accumulo/tables/+r/root_tablet/delete+A00008z4.rf+F00008qz.rf:&amp;nbsp; Under replicated BP-349021044-10.180.6.236-1406825419975:blk_1073758930_18158. Target Replicas is 5 but found 3 replica(s).&lt;BR /&gt;.&lt;BR /&gt;/user/accumulo/.Trash/Current/accumulo/tables/+r/root_tablet/delete+A00008z6.rf+A00008z4.rf:&amp;nbsp; Under replicated BP-349021044-10.180.6.236-1406825419975:blk_1073758933_18161. Target Replicas is 5 but found 3 replica(s).&lt;BR /&gt;.&lt;BR /&gt;/user/accumulo/.Trash/Current/accumulo/tables/+r/root_tablet/delete+A00008z6.rf+F00008z5.rf:&amp;nbsp; Under replicated BP-349021044-10.180.6.236-1406825419975:blk_1073758938_18166. Target Replicas is 5 but found 3 replica(s).&lt;BR /&gt;.&lt;BR /&gt;/user/accumulo/.Trash/Current/accumulo/tables/+r/root_tablet/delete+A00008z8.rf+A00008z6.rf:&amp;nbsp; Under replicated BP-349021044-10.180.6.236-1406825419975:blk_1073758939_18167. Target Replicas is 5 but found 3 replica(s).&lt;BR /&gt;.&lt;BR /&gt;/user/accumulo/.Trash/Current/accumulo/tables/+r/root_tablet/delete+A00008z8.rf+F00008z7.rf:&amp;nbsp; Under replicated BP-349021044-10.180.6.236-1406825419975:blk_1073758941_18169. Target Replicas is 5 but found 3 replica(s).&lt;BR /&gt;.&lt;BR /&gt;/user/accumulo/.Trash/Current/accumulo/tables/+r/root_tablet/delete+A00008za.rf+A00008z8.rf:&amp;nbsp; Under replicated BP-349021044-10.180.6.236-1406825419975:blk_1073758942_18170. Target Replicas is 5 but found 3 replica(s).&lt;BR /&gt;.&lt;BR /&gt;/user/accumulo/.Trash/Current/accumulo/tables/+r/root_tablet/delete+A00008za.rf+F00008z9.rf:&amp;nbsp; Under replicated BP-349021044-10.180.6.236-1406825419975:blk_1073758944_18172. Target Replicas is 5 but found 3 replica(s).&lt;BR /&gt;............................&lt;BR /&gt;....................................................................................................&lt;BR /&gt;....................................................................................................&lt;BR /&gt;......................................................Status: HEALTHY&lt;BR /&gt;&amp;nbsp;Total size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 212515269 B (Total open files size: 558 B)&lt;BR /&gt;&amp;nbsp;Total dirs:&amp;nbsp;&amp;nbsp;&amp;nbsp; 4197&lt;BR /&gt;&amp;nbsp;Total files:&amp;nbsp;&amp;nbsp;&amp;nbsp; 1654&lt;BR /&gt;&amp;nbsp;Total symlinks:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 0 (Files currently being written: 6)&lt;BR /&gt;&amp;nbsp;Total blocks (validated):&amp;nbsp;&amp;nbsp;&amp;nbsp; 1650 (avg. block size 128797 B) (Total open file blocks (not validated): 6)&lt;BR /&gt;&amp;nbsp;Minimally replicated blocks:&amp;nbsp;&amp;nbsp;&amp;nbsp; 1650 (100.0 %)&lt;BR /&gt;&amp;nbsp;Over-replicated blocks:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 (0.0 %)&lt;BR /&gt;&amp;nbsp;Under-replicated blocks:&amp;nbsp;&amp;nbsp;&amp;nbsp; 1341 (81.27273 %)&lt;BR /&gt;&amp;nbsp;Mis-replicated blocks:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 0 (0.0 %)&lt;BR /&gt;&amp;nbsp;Default replication factor:&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;BR /&gt;&amp;nbsp;Average block replication:&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.9921212&lt;BR /&gt;&amp;nbsp;Corrupt blocks:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;&amp;nbsp;Missing replicas:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 2669 (35.090717 %)&lt;BR /&gt;&amp;nbsp;Number of data-nodes:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;BR /&gt;&amp;nbsp;Number of racks:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;FSCK ended at Wed Aug 13 19:15:42 EDT 2014 in 77 milliseconds&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:04:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16902#M52302</guid>
      <dc:creator>NSU</dc:creator>
      <dc:date>2022-09-16T09:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS - Under-Replicated Blocks, Corrupt Blocks</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16904#M52303</link>
      <description>&lt;P&gt;The error message says some Accumulo files in the Trash folder only have 3 replicas whereas there should be 5. The default value of dfs.replication is 3. By default, dfs.replication.max is set to 512. This is the maximum number of replicas for a block. Accumulo checks if dfs.replication.max is set and if not, uses 5 for a replication factor. What version of CDH are you running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All this is detailed in bug ACCUMULO-683&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/ACCUMULO-683" target="_blank"&gt;https://issues.apache.org/jira/browse/ACCUMULO-683&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;So you can do the following :&lt;/P&gt;&lt;P&gt;- set dfs.replication.max to 3&lt;/P&gt;&lt;P&gt;- set table.file.replication for the !METADATA also to 3&lt;/P&gt;&lt;P&gt;- Use "hadoop fs -setrep" to change the replication factor of those files to 3&lt;/P&gt;&lt;P&gt;&lt;A href="http://hadoop.apache.org/docs/r0.18.3/hdfs_shell.html#setrep" target="_blank"&gt;http://hadoop.apache.org/docs/r0.18.3/hdfs_shell.html#setrep&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- run fsck and confirm you don't get this warning any more&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Gautam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 00:04:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16904#M52303</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-08-14T00:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS - Under-Replicated Blocks, Corrupt Blocks</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16908#M52304</link>
      <description>Thank you for your response. I am using CDH 5</description>
      <pubDate>Thu, 14 Aug 2014 01:09:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16908#M52304</guid>
      <dc:creator>NSU</dc:creator>
      <dc:date>2014-08-14T01:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS - Under-Replicated Blocks, Corrupt Blocks</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16910#M52305</link>
      <description>&lt;A href="https://github.com/cloudera/hadoop-common/blob/cdh5-2.3.0_5.0.0/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java#L283" target="_blank"&gt;https://github.com/cloudera/hadoop-common/blob/cdh5-2.3.0_5.0.0/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java#L283&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That shows the default in CDH 5.0.0 is 512 as well. Please try the steps I&lt;BR /&gt;provided earlier and let me know if it helped.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Aug 2014 01:18:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16910#M52305</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-08-14T01:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS - Under-Replicated Blocks, Corrupt Blocks</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16946#M52306</link>
      <description>&lt;P&gt;Thank you so much.It worked for me.It's a good solution.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 17:56:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Under-Replicated-Blocks-Corrupt-Blocks/m-p/16946#M52306</guid>
      <dc:creator>NSU</dc:creator>
      <dc:date>2014-08-14T17:56:20Z</dc:date>
    </item>
  </channel>
</rss>

