<?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: how to change a disk used by a hadoop cluster. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120538#M83306</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Ravi, Second approach sounds good to me. Is there a way to decommission node using Ambari? More detail in that approach would really help me&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2016 21:48:44 GMT</pubDate>
    <dc:creator>suraj_bose</dc:creator>
    <dc:date>2016-04-28T21:48:44Z</dc:date>
    <item>
      <title>how to change a disk used by a hadoop cluster.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120535#M83303</link>
      <description>&lt;P&gt;Our cluster is running on hdp 2.3.4.0 and one of the host is showing disk (/dev/sda1) usage 99% (see the attachment) where as there is enough disk space available in /dev/sdb1. By default ambari selected (I don't know how) /dev/sda1 during hadoop cluster setup. Can I somehow change the disk from /dev/sda1 to /dev/sdb1 without disturbing/loosing any data from the cluster? If not what is the best alternative. Please suggests.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 18:38:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120535#M83303</guid>
      <dc:creator>suraj_bose</dc:creator>
      <dc:date>2016-04-28T18:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to change a disk used by a hadoop cluster.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120536#M83304</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3781-screenshots.jpg"&gt;screenshots.jpg&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3782-screenshots2.jpg"&gt;screenshots2.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 18:40:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120536#M83304</guid>
      <dc:creator>suraj_bose</dc:creator>
      <dc:date>2016-04-28T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to change a disk used by a hadoop cluster.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120537#M83305</link>
      <description>&lt;P&gt;From hadoop FAQ on apache, &lt;/P&gt;&lt;H2&gt;3.12. On an individual data node, how do you balance the blocks on the disk?&lt;/H2&gt;&lt;P&gt;Hadoop currently does not have a method by which to do this automatically. To do this manually:&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Shutdown the DataNode involved&lt;/LI&gt;&lt;LI&gt;Use the UNIX mv command to move the individual block replica and meta pairs from one directory to another on the selected host. On releases which have HDFS-6482 (Apache Hadoop 2.6.0+) you also need to ensure the subdir-named directory structure remains exactly the same when moving the blocks across the disks. For example, if the block replica and its meta pair were under &lt;STRONG&gt;/data/1&lt;/STRONG&gt;/dfs/dn/current/BP-1788246909-172.23.1.202-1412278461680/current/finalized&lt;STRONG&gt;/subdir0/subdir1&lt;/STRONG&gt;/, and you wanted to move it to /data/5/ disk, then it MUST be moved into the same subdirectory structure underneath that, i.e. &lt;STRONG&gt;/data/5&lt;/STRONG&gt;/dfs/dn/current/BP-1788246909-172.23.1.202-1412278461680/current/finalized&lt;STRONG&gt;/subdir0/subdir1/&lt;/STRONG&gt;. If this is not maintained, the DN will no longer be able to locate the replicas after the move.&lt;/LI&gt;&lt;LI&gt;Restart the DataNode.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;However, this is not something that I recommend. A cleaner approach that you can take is decommission node, change the mount point and add it back to the cluster. I say cleaner because directly touching data directory can corrupt your data with a single misstep. &lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 19:30:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120537#M83305</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-04-28T19:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to change a disk used by a hadoop cluster.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120538#M83306</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Ravi, Second approach sounds good to me. Is there a way to decommission node using Ambari? More detail in that approach would really help me&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 21:48:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120538#M83306</guid>
      <dc:creator>suraj_bose</dc:creator>
      <dc:date>2016-04-28T21:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to change a disk used by a hadoop cluster.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120539#M83307</link>
      <description>&lt;P&gt;Yes. You can decommission node using ambari. &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_how_to_decommission_a_component.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_how_to_decommission_a_component.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 22:28:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-change-a-disk-used-by-a-hadoop-cluster/m-p/120539#M83307</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-04-28T22:28:23Z</dc:date>
    </item>
  </channel>
</rss>

