<?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: HDFS disk usage is 100% in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216184#M74459</link>
    <description>&lt;P&gt;in Ambari, go to the host details, and there you can click on the button right to the 'Datanode HDFS' service line .&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/56665-screenshot-decomission.png"&gt;screenshot-decomission.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You should turn on maintenance mode before to avoid alerts.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2018 22:58:19 GMT</pubDate>
    <dc:creator>arald</dc:creator>
    <dc:date>2018-02-09T22:58:19Z</dc:date>
    <item>
      <title>HDFS disk usage is 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216178#M74453</link>
      <description>&lt;P&gt;our ambary cluster with HDFS 100%&lt;/P&gt;&lt;P&gt;I try to capture the trash size with - &lt;STRONG&gt;hadoop dfsadmin -report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but from the output I not see the&lt;EM&gt; trash size , so how to know the size of trash ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and what are the CLI to get all used partition on HDFS include trash ?&lt;/P&gt;&lt;P&gt;second in order to solve the HDFS 100%&lt;/P&gt;&lt;P&gt;we think to add disks on the worker machine , is it usful in our case ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if yes how to re balance the data on the new disks ?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 19:51:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216178#M74453</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-02-09T19:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS disk usage is 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216179#M74454</link>
      <description>&lt;P&gt;if you want to see the usage within dfs, this should provide you with the disk usage:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -du -h /&lt;/PRE&gt;&lt;P&gt;To see the size of the trash dir use this command:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -du -h&lt;/PRE&gt;&lt;P&gt;To add new disk (in the normal mode), you typically decommission the data node service on the worker node, add the disk and decommision again, but the HDFS will try to replicate the blocks from that node to the other nodes to avoid data loss. I'm not sure if an already full hdfs will cause errors here. Can you try to (temporary) add nodes? This will add hdfs capacity, with that the decommissioning of one node should be ok, providing you a way to increase the local disk capacity.&lt;/P&gt;&lt;P&gt;Not sure if the rebalancing needs to be triggered manually, I believe it will start automatically (causing during that time additional load on the nodes).&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 22:22:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216179#M74454</guid>
      <dc:creator>arald</dc:creator>
      <dc:date>2018-02-09T22:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS disk usage is 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216180#M74455</link>
      <description>&lt;P&gt;can you please show me how to decommission? before and after ?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 22:40:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216180#M74455</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-02-09T22:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS disk usage is 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216181#M74456</link>
      <description>&lt;P&gt;from the output I see that&lt;/P&gt;&lt;PRE&gt;hdfs dfs -du -h /
398.2 M  /app-logs
7.5 M    /apps
3.5 M    /ats
695.6 M  /hdp
0        /mapred
0        /mr-history
53.1 G   /spark2-history
0        /tmp
516.3 M  /user

is it possible to delete the spark history from CLI , if not how to delete the spark history from ambari GUI?

&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Feb 2018 22:44:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216181#M74456</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-02-09T22:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS disk usage is 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216182#M74457</link>
      <description>&lt;P&gt;for the trash dir, try also to execute the command without the / at the end.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 22:54:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216182#M74457</guid>
      <dc:creator>arald</dc:creator>
      <dc:date>2018-02-09T22:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS disk usage is 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216183#M74458</link>
      <description>&lt;P&gt;yes trash dir is small and isn't the problem&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 22:57:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216183#M74458</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-02-09T22:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS disk usage is 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216184#M74459</link>
      <description>&lt;P&gt;in Ambari, go to the host details, and there you can click on the button right to the 'Datanode HDFS' service line .&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/56665-screenshot-decomission.png"&gt;screenshot-decomission.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You should turn on maintenance mode before to avoid alerts.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 22:58:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216184#M74459</guid>
      <dc:creator>arald</dc:creator>
      <dc:date>2018-02-09T22:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS disk usage is 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216185#M74460</link>
      <description>&lt;P&gt;To delete /spark2-history:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -rm -r /spark2-history/*&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Feb 2018 23:01:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-disk-usage-is-100/m-p/216185#M74460</guid>
      <dc:creator>arald</dc:creator>
      <dc:date>2018-02-09T23:01:44Z</dc:date>
    </item>
  </channel>
</rss>

