<?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, missing Blocks in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-Under-Replicated-Blocks-missing-Blocks/m-p/33988#M10338</link>
    <description>&lt;P&gt;Congratulations on solving the issue. Thank you for sharing the steps in case someone else faces something similar.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2015 19:47:16 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2015-11-10T19:47:16Z</dc:date>
    <item>
      <title>HDFS - Under-Replicated Blocks, missing Blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-Under-Replicated-Blocks-missing-Blocks/m-p/33969#M10336</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my four node (1 Name , 3 Data node) cluster just recoverd from Hardrvie failure; I hade to re-formate three of data node drives ( all on node 4)and re mount it to designated location.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CDH manager shows following health issues and Impala , Hbase services are stopped.&lt;/P&gt;&lt;P&gt;hard drive failure was in node4, node 1 is master.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HDFS shows underreplicated blocks (total 1 block is missing and around 99% are under replicated);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder how can I solve these issues. From my opinion hdfs should re-generate undereplicated blocks itself; if yes how long should it take? is there a way to experdite this process (make it faster)?&lt;/P&gt;&lt;P&gt;if No how can I manually re-generate such blocks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="hadoop.png" style="width: 279px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1252i59EB1A9D76FB83E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="hadoop.png" alt="hadoop.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:48:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-Under-Replicated-Blocks-missing-Blocks/m-p/33969#M10336</guid>
      <dc:creator>ANKITINTEL</dc:creator>
      <dc:date>2022-09-16T09:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS - Under-Replicated Blocks, missing Blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-Under-Replicated-Blocks-missing-Blocks/m-p/33984#M10337</link>
      <description>&lt;P&gt;following steps worked for me&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;in my case the node (#4) had disk failures was not coming up as data node ; was stopped&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;i tried starting it thougth services&amp;gt;hdfs&amp;gt;node4&amp;gt;start this data node but failed&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;while looking at logs o found warnings about more than one drives having data inconcistency; theere were FATAL messages but those lead me to dead end while searching for solution.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;i went to all those mounted points(disks) and removed dfs by rm -rf /dfs on node; one of drive was unable to mount &amp;nbsp;beacuse on that local location hdfs already made those folders; due to pervious attempts of starting datanode; i removed those folders as well and was able to mount. once mounted the new disk was clean free of any hadoop folders&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;I found a file in /tmp/hsprfdata_hdfs which began with some numbers (was some kind&amp;nbsp;of log); i renamed it as old_**** just in case I need it later; and let hdfs know that file is gone!!!&lt;/LI&gt;&lt;LI&gt;i went back to CDH manager HDFS node 4 and tried restarting this datanode; it worked; all the disks have dfs and directories now; tmp location had that old_*** file removed and there is new file (some other number)&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 10 Nov 2015 17:35:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-Under-Replicated-Blocks-missing-Blocks/m-p/33984#M10337</guid>
      <dc:creator>ANKITINTEL</dc:creator>
      <dc:date>2015-11-10T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS - Under-Replicated Blocks, missing Blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-Under-Replicated-Blocks-missing-Blocks/m-p/33988#M10338</link>
      <description>&lt;P&gt;Congratulations on solving the issue. Thank you for sharing the steps in case someone else faces something similar.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 19:47:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-Under-Replicated-Blocks-missing-Blocks/m-p/33988#M10338</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2015-11-10T19:47:16Z</dc:date>
    </item>
  </channel>
</rss>

