<?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 Is there any risk to delete old HDP directories? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-risk-to-delete-old-HDP-directories/m-p/96183#M9604</link>
    <description>&lt;P&gt;Upgraded a cluster many times and current version is HDP 2.3.2&lt;/P&gt;&lt;P&gt;Would like to delete the following directories.
Would it be safe to delete with rm command?&lt;/P&gt;&lt;P&gt;$ sudo du -hx --max-depth=1 /usr/hdp | grep G &lt;/P&gt;&lt;P&gt;2.8G /usr/hdp/2.3.2.0-2950 &lt;/P&gt;&lt;P&gt;
1.7G /usr/hdp/2.2.0.0-2041 &lt;/P&gt;&lt;P&gt;2.0G /usr/hdp/2.2.6.0-2800 &lt;/P&gt;&lt;P&gt;2.0G /usr/hdp/2.2.4.2-2 &lt;/P&gt;&lt;P&gt;2.6G /usr/hdp/2.3.0.0-2557&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:46:47 GMT</pubDate>
    <dc:creator>hosako</dc:creator>
    <dc:date>2022-09-16T09:46:47Z</dc:date>
    <item>
      <title>Is there any risk to delete old HDP directories?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-risk-to-delete-old-HDP-directories/m-p/96183#M9604</link>
      <description>&lt;P&gt;Upgraded a cluster many times and current version is HDP 2.3.2&lt;/P&gt;&lt;P&gt;Would like to delete the following directories.
Would it be safe to delete with rm command?&lt;/P&gt;&lt;P&gt;$ sudo du -hx --max-depth=1 /usr/hdp | grep G &lt;/P&gt;&lt;P&gt;2.8G /usr/hdp/2.3.2.0-2950 &lt;/P&gt;&lt;P&gt;
1.7G /usr/hdp/2.2.0.0-2041 &lt;/P&gt;&lt;P&gt;2.0G /usr/hdp/2.2.6.0-2800 &lt;/P&gt;&lt;P&gt;2.0G /usr/hdp/2.2.4.2-2 &lt;/P&gt;&lt;P&gt;2.6G /usr/hdp/2.3.0.0-2557&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:46:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-risk-to-delete-old-HDP-directories/m-p/96183#M9604</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2022-09-16T09:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any risk to delete old HDP directories?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-risk-to-delete-old-HDP-directories/m-p/96184#M9605</link>
      <description>&lt;P&gt;You should not remove old packages by removing these folders via "rm -rf ....". There are many  locations where HDP stores files, packages etc..&lt;/P&gt;&lt;P&gt;You can uninstall old versions for example via:&lt;/P&gt;&lt;PRE&gt;yum erase -y \*2_3_0_0_2557\*&lt;/PRE&gt;&lt;P&gt;Make sure you are not removing any current packages. Above command will remove the packages for the specified version, however you will still find some old log and config files (I usually keep them as a reference, but I think you can remove them without any problems). &lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 16:17:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-risk-to-delete-old-HDP-directories/m-p/96184#M9605</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-10-29T16:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any risk to delete old HDP directories?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-risk-to-delete-old-HDP-directories/m-p/96185#M9606</link>
      <description>&lt;P&gt;Thanks Jonas!&lt;/P&gt;&lt;P&gt;Based on your advise, I'll do "yum erase `yum list | grep -P '\b2.3.0.0-2557\b' | awk '{ print $1 }'`"&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 14:38:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-risk-to-delete-old-HDP-directories/m-p/96185#M9606</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2015-10-30T14:38:15Z</dc:date>
    </item>
  </channel>
</rss>

