<?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 underreplicated blocks in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-underreplicated-blocks/m-p/372073#M62007</link>
    <description>&lt;P&gt;Very helpful .... Solved my problem! Thank you so much&lt;/P&gt;</description>
    <pubDate>Sat, 03 Jun 2023 08:45:00 GMT</pubDate>
    <dc:creator>Soundharya</dc:creator>
    <dc:date>2023-06-03T08:45:00Z</dc:date>
    <item>
      <title>HDFS underreplicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-underreplicated-blocks/m-p/55210#M62005</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have installed a new cluster with CM 5.11 and&amp;nbsp;Hadoop 2.6.0-cdh5.11.0. I have 1 Name Node with all other services running on it, and 2 Datanodes. HDFS Replication factor is set to 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following &amp;nbsp;HDFS error:&amp;nbsp;Bad : 666 under replicated blocks in the cluster. 675 total blocks in the cluster. Percentage under replicated blocks: 98.67%. Critical threshold: 40.00%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried setting the replication factor to 1 to test it out and restarted the cluster and agents, but the issue remains unchanged. There are a few threads about this issue already but I haven't found a solution yet. Do you have any idea? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 06:18:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-underreplicated-blocks/m-p/55210#M62005</guid>
      <dc:creator>ahaeni</dc:creator>
      <dc:date>2017-05-30T06:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS underreplicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-underreplicated-blocks/m-p/55241#M62006</link>
      <description>&lt;P&gt;I fixed the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem was that after setting the replication factor in Cloudera Manager files which were already created still preserve the replication factor they were created with (in my case 3). I had to recursively set the factor to 2 on the command line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hdfs dfs -setrep -R 2 /*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe it will help someone.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 14:48:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-underreplicated-blocks/m-p/55241#M62006</guid>
      <dc:creator>ahaeni</dc:creator>
      <dc:date>2017-05-30T14:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS underreplicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-underreplicated-blocks/m-p/372073#M62007</link>
      <description>&lt;P&gt;Very helpful .... Solved my problem! Thank you so much&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2023 08:45:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-underreplicated-blocks/m-p/372073#M62007</guid>
      <dc:creator>Soundharya</dc:creator>
      <dc:date>2023-06-03T08:45:00Z</dc:date>
    </item>
  </channel>
</rss>

