<?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: add disk and storage to hdp sandbox vm in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133204#M31555</link>
    <description>&lt;P&gt;I get the following error adding it there:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4962-hdfs-data-error.png" style="width: 1296px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22202i13F15D108358DC62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4962-hdfs-data-error.png" alt="4962-hdfs-data-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 09:12:40 GMT</pubDate>
    <dc:creator>moapurva</dc:creator>
    <dc:date>2019-08-19T09:12:40Z</dc:date>
    <item>
      <title>add disk and storage to hdp sandbox vm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133201#M31552</link>
      <description>&lt;P&gt;I am running HDP Sandbox in an Azure VM. I can successfully add a disk to the VM and format / mount it. I would like to add it to HDFS to extend my storage. I am performing the following steps to get it recognized:&lt;/P&gt;&lt;OL&gt;
 
&lt;LI&gt;Create directory on the volume: i.e. mkdir
     /data/hdfs/data&lt;/LI&gt; 
&lt;LI&gt;Change perms: sudo chmod -R
     755 /data/hdfs/data&lt;/LI&gt; 
&lt;LI&gt;Change ownership: sudo chown
     -R hadoop:hdfs /data/hdfs/data&lt;/LI&gt; 
&lt;LI&gt;Stop datanode through Ambari&lt;/LI&gt; 
&lt;LI&gt;Change dfs.data.dir property
     in /etc/hadoop/conf/hdfs-site.xml, add directory comma delimited&lt;/LI&gt; 
&lt;LI&gt;Restart datanode&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;Unfortunately, everytime I restart the datanode, the dfs.data.dir property reverts back to default. What am I doing wrong?&lt;/DIV&gt;</description>
      <pubDate>Sat, 11 Jun 2016 04:41:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133201#M31552</guid>
      <dc:creator>moapurva</dc:creator>
      <dc:date>2016-06-11T04:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: add disk and storage to hdp sandbox vm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133202#M31553</link>
      <description>&lt;P&gt;Have you tried changing the setting through the HDFS service in Ambari?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 04:48:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133202#M31553</guid>
      <dc:creator>zblanco</dc:creator>
      <dc:date>2016-06-11T04:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: add disk and storage to hdp sandbox vm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133203#M31554</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4947-screen-shot-2016-06-10-at-25030-pm.png" style="width: 2564px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22203iC57E76CA4A91B7ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4947-screen-shot-2016-06-10-at-25030-pm.png" alt="4947-screen-shot-2016-06-10-at-25030-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It looks like you should be able to add a directory&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:12:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133203#M31554</guid>
      <dc:creator>zblanco</dc:creator>
      <dc:date>2019-08-19T09:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: add disk and storage to hdp sandbox vm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133204#M31555</link>
      <description>&lt;P&gt;I get the following error adding it there:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4962-hdfs-data-error.png" style="width: 1296px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22202i13F15D108358DC62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4962-hdfs-data-error.png" alt="4962-hdfs-data-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:12:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133204#M31555</guid>
      <dc:creator>moapurva</dc:creator>
      <dc:date>2019-08-19T09:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: add disk and storage to hdp sandbox vm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133205#M31556</link>
      <description>&lt;P&gt;Interesting. So it seems I actually got it to add another directory. These were the steps I followed:&lt;/P&gt;&lt;P&gt;I ran your commands above &lt;/P&gt;&lt;PRE&gt;mkdir /data/hdfs/data
chmod -R 755 /data/hdfs/data
sudo chown -R hdfs /data/hdfs/data
&lt;/PRE&gt;&lt;P&gt;After running those commands I moved to Ambari. Moved to the HDFS service. From there instead of using a comma to separate the two, I just put the new directory on a separate line underneath so it looked like:&lt;/P&gt;&lt;PRE&gt;/hadoop/hdfs/data
/data/hdfs/data
&lt;/PRE&gt;&lt;P&gt;After this I Ambari asked me to restart a few of the components. (It was taking a while so I ended up rebooting the Sandbox)&lt;/P&gt;&lt;P&gt;After rebooting the Sandbox I went back to the Ambari config and the new directory I added earlier was still present.&lt;/P&gt;&lt;P&gt;EDIT: Try removing the space after the comma. Ambari gave me an error when there was a space after the comma.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4950-screen-shot-2016-06-10-at-32405-pm.png" style="width: 1016px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22201iE16C96F7CC93655B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4950-screen-shot-2016-06-10-at-32405-pm.png" alt="4950-screen-shot-2016-06-10-at-32405-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:12:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133205#M31556</guid>
      <dc:creator>zblanco</dc:creator>
      <dc:date>2019-08-19T09:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: add disk and storage to hdp sandbox vm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133206#M31557</link>
      <description>&lt;P style="margin-left: 20px;"&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/416/zblanco.html" nodeid="416"&gt;@zblanco&lt;/A&gt;! Removing the comma did the trick.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 08:38:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/add-disk-and-storage-to-hdp-sandbox-vm/m-p/133206#M31557</guid>
      <dc:creator>moapurva</dc:creator>
      <dc:date>2016-06-28T08:38:43Z</dc:date>
    </item>
  </channel>
</rss>

