<?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 How Clean HDFS in ambari? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113874#M30380</link>
    <description>&lt;P&gt;Hi, I've been starting with Ambari and Sandbox Horton works, but I have a problem.&lt;/P&gt;&lt;P&gt;I've been developing some MapReduce and Pig script to test the framework and I always do rm in the result output in order to not waste space disk, but with the time (1 month) the hdfs disk is fully in the ambari metrics and I don't recovery space spite of remove and remove files.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4749-sin-titu1lo.jpg" style="width: 847px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23158i97C69DF9940B1111/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4749-sin-titu1lo.jpg" alt="4749-sin-titu1lo.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 11:07:49 GMT</pubDate>
    <dc:creator>bibiano_rivas_g</dc:creator>
    <dc:date>2019-08-19T11:07:49Z</dc:date>
    <item>
      <title>How Clean HDFS in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113874#M30380</link>
      <description>&lt;P&gt;Hi, I've been starting with Ambari and Sandbox Horton works, but I have a problem.&lt;/P&gt;&lt;P&gt;I've been developing some MapReduce and Pig script to test the framework and I always do rm in the result output in order to not waste space disk, but with the time (1 month) the hdfs disk is fully in the ambari metrics and I don't recovery space spite of remove and remove files.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4749-sin-titu1lo.jpg" style="width: 847px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23158i97C69DF9940B1111/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4749-sin-titu1lo.jpg" alt="4749-sin-titu1lo.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:07:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113874#M30380</guid>
      <dc:creator>bibiano_rivas_g</dc:creator>
      <dc:date>2019-08-19T11:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: How Clean HDFS in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113875#M30381</link>
      <description>&lt;P&gt;
	If you do just rm you're actually moving your data to the Trash. In order to remove the data from HDFS and free space, when you do the rm you have to put the flag -skipTrash.&lt;/P&gt;&lt;P&gt;
	In order to delete the data from the trash, you can run:&lt;/P&gt;
&lt;PRE&gt;hdfs dfs -expunge
&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Jun 2016 17:33:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113875#M30381</guid>
      <dc:creator>mgaido</dc:creator>
      <dc:date>2016-06-01T17:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: How Clean HDFS in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113876#M30382</link>
      <description>&lt;P&gt;Hi, thanks for the response. I´ve try but dont work. The problem is that the disk is filling while it is on but not store results. I think it may be because that is not where logs can be store, that is, every day metrics mark a 1 % stored more despite I dont use the machine. And now with the time is 99%, yesterday have 98% like show the picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4748-sin-titulo.jpg" style="width: 562px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23157i7B2C442A67AFB615/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4748-sin-titulo.jpg" alt="4748-sin-titulo.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:07:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113876#M30382</guid>
      <dc:creator>bibiano_rivas_g</dc:creator>
      <dc:date>2019-08-19T11:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: How Clean HDFS in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113877#M30383</link>
      <description>&lt;P&gt;@BRivas garriv&lt;/P&gt;&lt;P&gt;It takes some manual effort but, first change the working directory to / (cd /).&lt;/P&gt;&lt;P&gt;then do du -h on every folder to find the disk usage. (Example: "du -h var" or "du -h usr").&lt;/P&gt;&lt;P&gt;Locate the folder which is taking up all disk space and try to delete irrelevant files from that folder.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2016 01:59:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113877#M30383</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-06-04T01:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: How Clean HDFS in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113878#M30384</link>
      <description>&lt;P&gt;Thanks you so much, its works. The problem is that Atlas was comsuming 25GB of disk space in logs. You have any idea why this can happend? I never use Atlas app.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2016 03:03:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113878#M30384</guid>
      <dc:creator>bibiano_rivas_g</dc:creator>
      <dc:date>2016-06-04T03:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: How Clean HDFS in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113879#M30385</link>
      <description>&lt;P&gt;please check here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/5148/atlas-generating-huge-log-files.html" target="_blank"&gt;https://community.hortonworks.com/questions/5148/atlas-generating-huge-log-files.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2016 03:42:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-Clean-HDFS-in-ambari/m-p/113879#M30385</guid>
      <dc:creator>divakarreddy_a</dc:creator>
      <dc:date>2016-06-04T03:42:21Z</dc:date>
    </item>
  </channel>
</rss>

