<?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: Delete old BP-* DataNode directories by hand? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Delete-old-BP-DataNode-directories-by-hand/m-p/219593#M69602</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2663/jasonbreitweg.html" nodeid="2663"&gt;@Dr. Jason Breitweg&lt;/A&gt;, it will not be deleted automatically.&lt;/P&gt;&lt;P&gt;There may be block files under that directory that you need. If the cluster has any important data - I'd recommend running '&lt;EM&gt;hdfs fsck&lt;/EM&gt;' to ensure there are no missing/corrupt blocks before you delete &lt;EM&gt;/var/hadoop/hdfs/data/current/BP-*&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Even then I'd first move the directory to a different location, restart DataNodes and rerun fsck to ensure you don't cause data loss.&lt;/P&gt;</description>
    <pubDate>Sat, 14 Oct 2017 05:30:15 GMT</pubDate>
    <dc:creator>ArpitAgarwal</dc:creator>
    <dc:date>2017-10-14T05:30:15Z</dc:date>
    <item>
      <title>Delete old BP-* DataNode directories by hand?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Delete-old-BP-DataNode-directories-by-hand/m-p/219592#M69601</link>
      <description>&lt;P&gt;By mistake /var/hadoop/hdfs/data was in my list of DataNode directories. I have removed this in Ambari and restarted all services successfully. I was under the impression that /var/hadoop/hdfs/data/current/BP-* would then be deleted but it is still there and taking up space. Is it safe to delete it by hand? &lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 15:36:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Delete-old-BP-DataNode-directories-by-hand/m-p/219592#M69601</guid>
      <dc:creator>jason_breitweg</dc:creator>
      <dc:date>2017-10-13T15:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Delete old BP-* DataNode directories by hand?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Delete-old-BP-DataNode-directories-by-hand/m-p/219593#M69602</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2663/jasonbreitweg.html" nodeid="2663"&gt;@Dr. Jason Breitweg&lt;/A&gt;, it will not be deleted automatically.&lt;/P&gt;&lt;P&gt;There may be block files under that directory that you need. If the cluster has any important data - I'd recommend running '&lt;EM&gt;hdfs fsck&lt;/EM&gt;' to ensure there are no missing/corrupt blocks before you delete &lt;EM&gt;/var/hadoop/hdfs/data/current/BP-*&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Even then I'd first move the directory to a different location, restart DataNodes and rerun fsck to ensure you don't cause data loss.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2017 05:30:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Delete-old-BP-DataNode-directories-by-hand/m-p/219593#M69602</guid>
      <dc:creator>ArpitAgarwal</dc:creator>
      <dc:date>2017-10-14T05:30:15Z</dc:date>
    </item>
  </channel>
</rss>

