<?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: workers ( datanode )  disk created by mistake under &amp;quot;/&amp;quot;  instead  &amp;quot;/grid/sdd&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208034#M169994</link>
    <description>&lt;P&gt;so finally my steps 1-4 are correct , or you want to add something&lt;/P&gt;&lt;P&gt;?  &lt;/P&gt;</description>
    <pubDate>Tue, 03 Apr 2018 05:54:54 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2018-04-03T05:54:54Z</dc:date>
    <item>
      <title>workers ( datanode )  disk created by mistake under "/"  instead  "/grid/sdd"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208028#M169988</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;we have ambari cluster with 165 workers machines &lt;/P&gt;&lt;P&gt;each worker have 4 disks ( /grid/sda /gird/sdb /grid/sdc /grid/sdd )&lt;/P&gt;&lt;P&gt;on of the workers have only 3 disks  insted 4 disks&lt;/P&gt;&lt;P&gt;so after blueprint installation , on that worker sdd created under "/"  and not under /grid&lt;/P&gt;&lt;P&gt;this cause / partition to became nearly 100%&lt;/P&gt;&lt;P&gt;so we want to create new disk on this worker as /grid/sdd &lt;/P&gt;&lt;P&gt;and copy the content under /sdd to /grid/sdd&lt;/P&gt;&lt;P&gt;so the procedure should be like this &lt;/P&gt;&lt;PRE&gt;1. create new disk - /grid/sdd and update /etc/fstab and mount /grid/sdd

2. stop all workers components 

3. cp -rp /sdd/* /grid/sdd

4. start all workers components&lt;/PRE&gt;&lt;P&gt;please advice if all steps 1-4 are the right steps regarding my problem&lt;/P&gt;&lt;P&gt;workers components&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="64987-capture.png" style="width: 722px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16917i1D7B9AB571D7AF3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="64987-capture.png" alt="64987-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:28:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208028#M169988</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T04:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: workers ( datanode )  disk created by mistake under "/"  instead  "/grid/sdd"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208029#M169989</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Here is a HCC validated documentation to execute successfully your  solution&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/articles/2308/how-to-move-or-change-the-hdfs-datanode-directorie.html" target="_blank"&gt; How to Move or Change HDFS DataNode Directories&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope that helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 21:52:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208029#M169989</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-02T21:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: workers ( datanode )  disk created by mistake under "/"  instead  "/grid/sdd"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208030#M169990</link>
      <description>&lt;P&gt;my scenario is little different , we not need to change ambari configuration since /grid/sdd already  configured under HDFS --&amp;gt; config in ( DataNode directories ) &lt;/P&gt;&lt;P&gt;second , by &lt;STRONG&gt;cp -rp&lt;/STRONG&gt;  I am actually copy the folders permissions as is&lt;/P&gt;&lt;P&gt;so can you approve my steps 1-4 ?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 21:58:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208030#M169990</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-04-02T21:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: workers ( datanode )  disk created by mistake under "/"  instead  "/grid/sdd"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208031#M169991</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Your steps look okay but I still think the below-updated process portrays better the process.  If  its a production cluster then you MUST take the necessary precautions like baking up the data.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1. create new disk - /grid/sdd and update /etc/fstab and mount /grid/sdd &lt;STRONG&gt;OK &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Make sure the old mount point is accessible becase you will copy date to to new mount from them. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2.Stop the cluster instead of only the datanodes as documented there could be a reason why eg some processes/jobs writing to those disks &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3.Go to the ambari HDFS configuration and edit the datanode directory configuration: Remove /hadoop/hdfs/data and /hadoop/hdfs/data1. Add /grid/sda,/gird/sdb,/grid/sdc,/grid/sdd save. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;4.Login into each datanode VM and copy the contents of /data_old /data1 into /grid/sda,/gird/sdb,/grid/sdc,/grid/sdd &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;5.Change the ownership of /grid/sda,/gird/sdb,/grid/sdc,/grid/sdd and everything under it to “hdfs”. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;6.Start the cluster. &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 22:45:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208031#M169991</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-02T22:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: workers ( datanode )  disk created by mistake under "/"  instead  "/grid/sdd"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208032#M169992</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/1271/sheltong.html"&gt;Geoffrey Shelton Okot&lt;/A&gt; , first thank you , &lt;/P&gt;&lt;P&gt;you said that you prefer to do ambari-server stop instead stooping the components on the worker machine , &lt;/P&gt;&lt;P&gt;but stooping all cluster by &lt;STRONG&gt;ambari-server stop &lt;/STRONG&gt;will cause downtime on this cluster !!!,&lt;/P&gt;&lt;P&gt;so I not feel good with this action , &lt;/P&gt;&lt;P&gt;so stop the component only on the worker machine is less dramatic then stooping all cluster on production &lt;/P&gt;&lt;P&gt;second , regarding to your &lt;STRONG&gt;step 3 &lt;/STRONG&gt;, as I said datanode directory is configured ok , no need to change anything &lt;/P&gt;&lt;P&gt;regarding to your &lt;STRONG&gt;step 4 &lt;/STRONG&gt;, why I need to access each datanode while the problem is only on one datanode ( worker75 ) ?&lt;/P&gt;&lt;P&gt;as you know we have 165 workers machines but only worker75 have the problem &lt;/P&gt;&lt;P&gt;so all  datanode are ok , the only problem is with one worker machine , as I mentioned  sdd not created under /grid instead of that sdd created under slash , so this is the reason that we want to copy the content under /sdd to /grid/sdd&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 05:06:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208032#M169992</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-04-03T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: workers ( datanode )  disk created by mistake under "/"  instead  "/grid/sdd"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208033#M169993</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sorry I got misguided by your sentence "&lt;B&gt;on&lt;/B&gt; of the workers have only 3 disks insted 4 disks" I think there was a typo error instead of "&lt;STRONG&gt;one"&lt;/STRONG&gt; you wrote "&lt;STRONG&gt;on" &lt;/STRONG&gt;and that completely changes the meaning of the sentence.&lt;BR /&gt;&lt;/EM&gt;&lt;I&gt;Yes true if its only one data node that should impact the whole cluster. &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;The other method would be to decommission the worker node (datanode) mount the new FS and then recommission &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;It's cool if all worked fine for you.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 05:19:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208033#M169993</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-03T05:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: workers ( datanode )  disk created by mistake under "/"  instead  "/grid/sdd"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208034#M169994</link>
      <description>&lt;P&gt;so finally my steps 1-4 are correct , or you want to add something&lt;/P&gt;&lt;P&gt;?  &lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 05:54:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208034#M169994</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-04-03T05:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: workers ( datanode )  disk created by mistake under "/"  instead  "/grid/sdd"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208035#M169995</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Yes, I think the steps are correct, but I think for better understanding you add &lt;STRONG&gt;a step &lt;/STRONG&gt;between&lt;STRONG&gt; 2&lt;/STRONG&gt; and &lt;STRONG&gt;3&lt;/STRONG&gt; :-).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mounting the new FS and updating the &lt;B&gt;fstab&lt;/B&gt; before copying across the data from the old mount point.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cheers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:46:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/workers-datanode-disk-created-by-mistake-under-quot-quot/m-p/208035#M169995</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-03T14:46:25Z</dc:date>
    </item>
  </channel>
</rss>

