<?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: Re-install a recently uninstalled Hosts fail - unclean remove? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18474#M2814</link>
    <description>Thank you for the feedback.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Sep 2014 04:32:17 GMT</pubDate>
    <dc:creator>GautamG</dc:creator>
    <dc:date>2014-09-09T04:32:17Z</dc:date>
    <item>
      <title>Re-install a recently uninstalled Hosts fail - unclean remove?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18210#M2811</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I recently uninstalled a host because I installed the wrong CDH version (5.1.2). I was suppose to install CDH 5.0.3 on the host to match the cluster. I performed a manual yum remove install on the different packages based on this documentation:&amp;nbsp;&lt;/SPAN&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM5/latest/Cloudera-Manager-Installation-Guide/cm5ig_uninstall_cm.html"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM5/latest/Cloudera-Manager-Installation-Guide/cm5ig_uninstall_cm.html&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now I try to reinstall the host via Cloudera Manager and then I run into the error below. I think the uninstall was not clean. Anybody have any tips on how to resolve this? Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Installing hadoop-httpfs package...&lt;DIV&gt;&lt;STRONG&gt;BEGIN sudo yum list installed hadoop-httpfs&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Loaded plugins: product-id, security, subscription-manager&amp;nbsp;&lt;BR /&gt;This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Error: No matching Packages to list&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;END (1)&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BEGIN sudo yum info hadoop-httpfs&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Loaded plugins: product-id, security, subscription-manager&amp;nbsp;&lt;BR /&gt;This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.&amp;nbsp;&lt;BR /&gt;Available Packages&amp;nbsp;&lt;BR /&gt;Name : hadoop-httpfs&amp;nbsp;&lt;BR /&gt;Arch : x86_64&amp;nbsp;&lt;BR /&gt;Version : 2.3.0+cdh5.0.3+597&amp;nbsp;&lt;BR /&gt;Release : 1.cdh5.0.3.p0.30.el6&amp;nbsp;&lt;BR /&gt;Size : 21 M&amp;nbsp;&lt;BR /&gt;Repo : cloudera-cdh5&amp;nbsp;&lt;BR /&gt;Summary : HTTPFS for Hadoop&amp;nbsp;&lt;BR /&gt;URL :&amp;nbsp;&lt;A target="_blank" href="http://hadoop.apache.org/core/"&gt;http://hadoop.apache.org/core/&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;License : Apache License v2.0&amp;nbsp;&lt;BR /&gt;Description : The server providing HTTP REST API support for the complete&amp;nbsp;&lt;BR /&gt;: FileSystem/FileContext interface in HDFS.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;END (0)&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BEGIN sudo yum -y install hadoop-httpfs&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Loaded plugins: product-id, security, subscription-manager&amp;nbsp;&lt;BR /&gt;This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.&amp;nbsp;&lt;BR /&gt;Setting up Install Process&amp;nbsp;&lt;BR /&gt;Resolving Dependencies&amp;nbsp;&lt;BR /&gt;--&amp;gt; Running transaction check&amp;nbsp;&lt;BR /&gt;---&amp;gt; Package hadoop-httpfs.x86_64 0:2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6 will be installed&amp;nbsp;&lt;BR /&gt;--&amp;gt; Processing Dependency: hadoop = 2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6 for package: hadoop-httpfs-2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6.x86_64&amp;nbsp;&lt;BR /&gt;--&amp;gt; Processing Dependency: hadoop-hdfs = 2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6 for package: hadoop-httpfs-2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6.x86_64&amp;nbsp;&lt;BR /&gt;--&amp;gt; Finished Dependency Resolution&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Error: Package: hadoop-httpfs-2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6.x86_64 (cloudera-cdh5)&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;Requires: hadoop = 2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6&amp;nbsp;&lt;BR /&gt;Installed: hadoop-2.3.0+cdh5.1.2+816-1.cdh5.1.2.p0.3.el6.x86_64 (@cloudera-cdh5)&amp;nbsp;&lt;BR /&gt;hadoop = 2.3.0+cdh5.1.2+816-1.cdh5.1.2.p0.3.el6&amp;nbsp;&lt;BR /&gt;Available: hadoop-2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6.x86_64 (cloudera-cdh5)&amp;nbsp;&lt;BR /&gt;hadoop = 2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Error: Package: hadoop-httpfs-2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6.x86_64 (cloudera-cdh5)&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;Requires: hadoop-hdfs = 2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6&amp;nbsp;&lt;BR /&gt;Installed: hadoop-hdfs-2.3.0+cdh5.1.2+816-1.cdh5.1.2.p0.3.el6.x86_64 (@cloudera-cdh5)&amp;nbsp;&lt;BR /&gt;hadoop-hdfs = 2.3.0+cdh5.1.2+816-1.cdh5.1.2.p0.3.el6&amp;nbsp;&lt;BR /&gt;Available: hadoop-hdfs-2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6.x86_64 (cloudera-cdh5)&amp;nbsp;&lt;BR /&gt;hadoop-hdfs = 2.3.0+cdh5.0.3+597-1.cdh5.0.3.p0.30.el6&amp;nbsp;&lt;BR /&gt;You could try using --skip-broken to work around the problem&amp;nbsp;&lt;BR /&gt;You could try running: rpm -Va --nofiles --nodigest&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;END (1)&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;remote package hadoop-httpfs could not be installed, giving up&amp;nbsp;&lt;BR /&gt;waiting for rollback request&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:06:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18210#M2811</guid>
      <dc:creator>gagabonar</dc:creator>
      <dc:date>2022-09-16T09:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re-install a recently uninstalled Hosts fail - unclean remove?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18382#M2812</link>
      <description>&amp;gt; Installed: hadoop-2.3.0+cdh5.1.2+816-1.cdh5.1.2.p0.3.el6.x86_64&lt;BR /&gt;(@cloudera-cdh5)&lt;BR /&gt;&amp;gt; Installed: hadoop-hdfs-2.3.0+cdh5.1.2+816-1.cdh5.1.2.p0.3.el6.x86_64&lt;BR /&gt;(@cloudera-cdh5)&lt;BR /&gt;&lt;BR /&gt;​remove those two packages first, then ensure your CDH5 repo points to&lt;BR /&gt;5.0.3, not 5 (which will be the latest in 5.x)&lt;BR /&gt;&lt;BR /&gt;# yum remove hadoop hadoop-hdfs&lt;BR /&gt;# yum clean all&lt;BR /&gt;# yum makecache&lt;BR /&gt;# yum list | grep cdh5.1.2 (should not list anything)&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2014 08:54:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18382#M2812</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-09-08T08:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re-install a recently uninstalled Hosts fail - unclean remove?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18470#M2813</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the steps you suggested, but the problem still remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've solved this solution by trying the following steps provided by JohnKelly of CDH Google Group combined with the CDH uninstall guide:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Follow this instruction:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH5/latest/CDH5-Installation-Guide/cdh5ig_cdh_comp_uninstall.html"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH5/latest/CDH5-Installation-Guide/cdh5ig_cdh_comp_uninstall.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I ran the following command (credits to JohnKelly):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rpm -e --allmatches $(rpm -qa | grep -e^hadoop -e^cloudera -e^hue -e^oozie -e^hbase -e^impala -e^flume -e^hive)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;yum clean all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rm -Rf /usr/share/cmf /var/lib/cloudera* /var/cache/yum/cloudera*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo rm -Rf /usr/share/cmf /var/lib/cloudera* /var/cache/yum/cloudera*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rm /tmp/.scm_prepare_node.lock&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that everything was good.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2014 03:30:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18470#M2813</guid>
      <dc:creator>gagabonar</dc:creator>
      <dc:date>2014-09-09T03:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re-install a recently uninstalled Hosts fail - unclean remove?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18474#M2814</link>
      <description>Thank you for the feedback.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2014 04:32:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Re-install-a-recently-uninstalled-Hosts-fail-unclean-remove/m-p/18474#M2814</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-09-09T04:32:17Z</dc:date>
    </item>
  </channel>
</rss>

