<?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: is it necessary to stop the components on each  datanode ( worker machine ) in case of adding new disks ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/is-it-necessary-to-stop-the-components-on-each-datanode/m-p/178619#M72957</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;P&gt;It depends on whether the compoennts are going to use the new disks or not. If not, they don't need to restart. For those services that need to use the new disk.  Some of them, such as HDFS datanode supported Hot-Swap, which means you can add disks by the following steps without a restart of datanode service.&lt;/P&gt;&lt;PRE&gt;1&amp;gt; changing the dfs.datanode.data.dir from hdfs-site.xml to include new disk locations (e.g., /data/disk2).
&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;dfs.datanode.data.dir&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;/data/disk1,/data/disk2&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;

2&amp;gt; Run hdfs CLI to reconfig datanode service without a restart. 

hdfs dfsadmin-reconfig datanode dn1.hdp.com:9820 start


&lt;/PRE&gt;&lt;P&gt;Other services might need a restart to use the new disks if Hot-Swap is not supported. &lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2018 02:29:57 GMT</pubDate>
    <dc:creator>xyao</dc:creator>
    <dc:date>2018-01-03T02:29:57Z</dc:date>
    <item>
      <title>is it necessary to stop the components on each  datanode ( worker machine ) in case of adding new disks ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/is-it-necessary-to-stop-the-components-on-each-datanode/m-p/178618#M72956</link>
      <description>&lt;P&gt;we want to understand what is the pre procedure before adding on each worker machine disks&lt;/P&gt;&lt;P&gt;we have ambari cluster version 2.6 with 3 datanode machines ( workers machines )&lt;/P&gt;&lt;P&gt;we  want to add on each worker new&lt;STRONG&gt; 5 disks &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;before adding the new disks do we must to stop the components on each worker machine ( the componets are - data node , matrix monitor , node manager )&lt;/P&gt;&lt;P&gt;or maybe to restart all effected servoces/compontes in enntire cluster? &lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 01:11:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/is-it-necessary-to-stop-the-components-on-each-datanode/m-p/178618#M72956</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-01-02T01:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: is it necessary to stop the components on each  datanode ( worker machine ) in case of adding new disks ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/is-it-necessary-to-stop-the-components-on-each-datanode/m-p/178619#M72957</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;P&gt;It depends on whether the compoennts are going to use the new disks or not. If not, they don't need to restart. For those services that need to use the new disk.  Some of them, such as HDFS datanode supported Hot-Swap, which means you can add disks by the following steps without a restart of datanode service.&lt;/P&gt;&lt;PRE&gt;1&amp;gt; changing the dfs.datanode.data.dir from hdfs-site.xml to include new disk locations (e.g., /data/disk2).
&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;dfs.datanode.data.dir&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;/data/disk1,/data/disk2&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;

2&amp;gt; Run hdfs CLI to reconfig datanode service without a restart. 

hdfs dfsadmin-reconfig datanode dn1.hdp.com:9820 start


&lt;/PRE&gt;&lt;P&gt;Other services might need a restart to use the new disks if Hot-Swap is not supported. &lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 02:29:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/is-it-necessary-to-stop-the-components-on-each-datanode/m-p/178619#M72957</guid>
      <dc:creator>xyao</dc:creator>
      <dc:date>2018-01-03T02:29:57Z</dc:date>
    </item>
  </channel>
</rss>

