<?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 what happens when a failed datanode gets up again (in terms of replication) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-happens-when-a-failed-datanode-gets-up-again-in-terms/m-p/218363#M72284</link>
    <description>&lt;P&gt;for example if one of the datanode gets down and namenode didnt receive heartbeat untill 10 mins so it will copy all the data that datanode was containing to another datanode in order to maintain replication factor but suppose after 10 mins datanode gets up in that case the block will be over replicated ., so how will it maintain the replication factor?? Will it detect and delete that data automatically??&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2017 17:05:20 GMT</pubDate>
    <dc:creator>sheetal_khanuja</dc:creator>
    <dc:date>2017-12-05T17:05:20Z</dc:date>
    <item>
      <title>what happens when a failed datanode gets up again (in terms of replication)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-happens-when-a-failed-datanode-gets-up-again-in-terms/m-p/218363#M72284</link>
      <description>&lt;P&gt;for example if one of the datanode gets down and namenode didnt receive heartbeat untill 10 mins so it will copy all the data that datanode was containing to another datanode in order to maintain replication factor but suppose after 10 mins datanode gets up in that case the block will be over replicated ., so how will it maintain the replication factor?? Will it detect and delete that data automatically??&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 17:05:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-happens-when-a-failed-datanode-gets-up-again-in-terms/m-p/218363#M72284</guid>
      <dc:creator>sheetal_khanuja</dc:creator>
      <dc:date>2017-12-05T17:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: what happens when a failed datanode gets up again (in terms of replication)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-happens-when-a-failed-datanode-gets-up-again-in-terms/m-p/218364#M72285</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15935/sheetalkhanuja77.html" nodeid="15935"&gt;@manpreet kaur&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;The Over-replicated blocks are randomly removed from different nodes by the HDFS, and are rebalanced.&lt;BR /&gt;But
 if due to some reasons the HDFS rebalancing is not happening 
automatically then you can do it via command line or using Ambari UI&lt;/P&gt;&lt;PRE&gt;Ambari UI -&amp;gt; HDFS --&amp;gt; Service Actions --&amp;gt; Rebalance HDFS&lt;/PRE&gt;&lt;P&gt;It is recommended to run the HDFS Balancer periodically during times when the cluster load is expected to be lower than usual. &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-operations/content/rebalancing_hdfs.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-operations/content/rebalancing_hdfs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;The following command would show over replicated blocks.&lt;/P&gt;&lt;PRE&gt;# su - hdfs
# hdfs fsck /&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 18:50:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-happens-when-a-failed-datanode-gets-up-again-in-terms/m-p/218364#M72285</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-12-05T18:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: what happens when a failed datanode gets up again (in terms of replication)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-happens-when-a-failed-datanode-gets-up-again-in-terms/m-p/218365#M72286</link>
      <description>&lt;P&gt;Thanks Jay &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 19:19:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-happens-when-a-failed-datanode-gets-up-again-in-terms/m-p/218365#M72286</guid>
      <dc:creator>sheetal_khanuja</dc:creator>
      <dc:date>2017-12-05T19:19:03Z</dc:date>
    </item>
  </channel>
</rss>

