<?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: Data directories mount point space not reclaimed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357575#M237623</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;you may check if the files you deleted from HDFS still exist somehow in HDFS and if so, check the replication factor applied to them, this can be contained in the second column of the hdfs -ls output, for this you can collect a recursive listing by running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;hdfs dfs -ls -R / &amp;gt; hdfs_recursive&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;After you can try a filter to this file to know the RF factor applied to your files:&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;hdfs dfs -ls -R / | awk '{print $2}' | sort | uniq -c&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Also, ensure that there is no other content from other processes (something different than HDFS) filling up the mount points used to store the HDFS blocks.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;You can get also the following outputs to compare if existing data is protected by snapshots or not:&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;#1&amp;nbsp;du -s -x&lt;/P&gt;&lt;P class="p1"&gt;#2&amp;nbsp;du -s&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;---&amp;gt; Du command usage [&lt;A title="Du command usage" href="https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/FileSystemShell.html#du" target="_self"&gt;1&lt;/A&gt;]&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;If the results of the above commands differ between them probably there are snapshots still present that are avoiding blocks to be deleted from datanodes.&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 15:14:50 GMT</pubDate>
    <dc:creator>blizano</dc:creator>
    <dc:date>2022-11-14T15:14:50Z</dc:date>
    <item>
      <title>Data directories mount point space not reclaimed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/356957#M237414</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have 3 DN's and Data Directories mount point size is around 1TB on each Node , total Data Directories size was 3TB. I deleted 500GB data from HDFS but space got release from only DN3 Data Directory not from other DN's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 11:31:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/356957#M237414</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-11-04T11:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data directories mount point space not reclaimed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/356973#M237418</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check below things:&lt;/P&gt;&lt;P&gt;1) If the replication factor of deleted files was 1.&lt;/P&gt;&lt;P&gt;2) If there are blocks still pending to be deleted. This could be checked from NN UI&lt;/P&gt;&lt;P&gt;3) If there are hdfs snapshots configured on the deleted paths or its parent directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 14:10:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/356973#M237418</guid>
      <dc:creator>pajoshi</dc:creator>
      <dc:date>2022-11-04T14:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data directories mount point space not reclaimed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357145#M237479</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 20:56:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357145#M237479</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2022-11-07T20:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data directories mount point space not reclaimed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357571#M237620</link>
      <description>&lt;P&gt;not yet issue didn't resolved&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 13:35:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357571#M237620</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-11-14T13:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data directories mount point space not reclaimed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357572#M237621</link>
      <description>&lt;P&gt;Hi Pajoshi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find my inline comments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) If the replication factor of deleted files was 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&amp;gt;Replication factor - 2&lt;/P&gt;&lt;P&gt;2) If there are blocks still pending to be deleted. This could be checked from NN UI&lt;/P&gt;&lt;P&gt;-&amp;gt;we observed 6 blocks pending to be deleted.&lt;/P&gt;&lt;P&gt;3) If there are hdfs snapshots configured on the deleted paths or its parent directory&lt;/P&gt;&lt;P&gt;--&amp;gt; We deleted hdfs snapshots&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 13:37:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357572#M237621</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-11-14T13:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data directories mount point space not reclaimed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357575#M237623</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;you may check if the files you deleted from HDFS still exist somehow in HDFS and if so, check the replication factor applied to them, this can be contained in the second column of the hdfs -ls output, for this you can collect a recursive listing by running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;hdfs dfs -ls -R / &amp;gt; hdfs_recursive&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;After you can try a filter to this file to know the RF factor applied to your files:&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;hdfs dfs -ls -R / | awk '{print $2}' | sort | uniq -c&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Also, ensure that there is no other content from other processes (something different than HDFS) filling up the mount points used to store the HDFS blocks.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;You can get also the following outputs to compare if existing data is protected by snapshots or not:&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;#1&amp;nbsp;du -s -x&lt;/P&gt;&lt;P class="p1"&gt;#2&amp;nbsp;du -s&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;---&amp;gt; Du command usage [&lt;A title="Du command usage" href="https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/FileSystemShell.html#du" target="_self"&gt;1&lt;/A&gt;]&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;If the results of the above commands differ between them probably there are snapshots still present that are avoiding blocks to be deleted from datanodes.&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:14:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357575#M237623</guid>
      <dc:creator>blizano</dc:creator>
      <dc:date>2022-11-14T15:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data directories mount point space not reclaimed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357909#M237699</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 23:42:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Data-directories-mount-point-space-not-reclaimed/m-p/357909#M237699</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2022-11-17T23:42:18Z</dc:date>
    </item>
  </channel>
</rss>

