<?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 Downgrade Ambari 2.7.3 to 2.62 on New HDP 2.6.4 Installatioin in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Downgrade-Ambari-2-7-3-to-2-62-on-New-HDP-2-6-4/m-p/237745#M199558</link>
    <description>&lt;P&gt;I would like to downgrade Ambari server (from 2.7.3 to 2.6.2). This is a new installation and since Ambari was never upgraded, there are no database back up files (as referenced here: &lt;A href="https://community.hortonworks.com/questions/175812/downgrade-procedure-from-ambari-version-2610-to-lo.html)" target="_blank"&gt;https://community.hortonworks.com/questions/175812/downgrade-procedure-from-ambari-version-2610-to-lo.html)&lt;/A&gt;. Therefore, I modified the instructions as follows (omitting the old database import steps and re-running ambari-server setup). Will this work without negatively affecting the other HDP 2.6.4 components? If not, is there a procedure to downgrade Ambari in a new installation?&lt;BR /&gt;&lt;BR /&gt;1. Stop the ambari-server.&lt;BR /&gt;# ambari-server stop&lt;BR /&gt;&lt;BR /&gt;2. Stop all the ambari-agents on all hosts.&lt;BR /&gt;# ambari-agent stop&lt;BR /&gt;&lt;BR /&gt;3. Download the ambari.repo of the downgraded version on all agent hosts and ambari server host.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;PRE&gt;# wget -nv &lt;A href="http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.4.2.0/ambari.repo" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.4.2.0/ambari.repo&lt;/A&gt; -O /etc/yum.repos.d/ambari.repo
	&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;4. (omitting this step) Then take a backup of "/etc/ambari-server/conf" and "/etc/ambari-agent/conf" directories (for backup).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;5. Erase the ambari Binaries from Ambari Server and Ambari Agent hosts like (basically cleaning up the Ambari Server and agent binaries)&lt;/P&gt;&lt;P&gt;yum remove ambari-server ambari-agent&lt;/P&gt;&lt;P&gt;rm -f /usr/sbin/ambari*&lt;/P&gt;&lt;P&gt;rm -f /usr/lib/python2.6/site-packages/ambari_commons&lt;/P&gt;&lt;P&gt;rm -f /usr/lib/python2.6/site-packages/ambari_server&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/python2.6/site-packages/resource_management&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/python2.6/site-packages/ambari_jinja2&lt;/P&gt;&lt;P&gt;rm -f /usr/lib/python2.7/site-packages/ambari_commons&lt;/P&gt;&lt;P&gt;rm -f /usr/lib/python2.7/site-packages/ambari_server&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/python2.7/site-packages/resource_management&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/python2.7/site-packages/ambari_jinja2&lt;/P&gt;&lt;P&gt;rm -rf /var/lib/ambari-server&lt;/P&gt;&lt;P&gt;rm -rf /var/lib/ambari-agent/&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/ambari-agent/&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/ambari-server/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;6. Perform yum cleanup&lt;/P&gt;&lt;P&gt;# yum clean all&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;7. (omitting this step) Import the OLD Database Dump of previous ambari version to the Database. (for example ambari 2.4.2 DB dump)&lt;/P&gt;&lt;P&gt;# su postgres -c 'psql -c "drop database ambari" '&lt;/P&gt;&lt;P&gt;# su postgres -c 'psql -c "create database ambari" '&lt;/P&gt;&lt;P&gt;# su postgres -c 'psql -f ./ambari_old_242.sql -d ambari'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;8. Install ambari-server and ambari agents (agent on all hosts)&lt;/P&gt;&lt;P&gt;# yum install ambari-server ambari-agent -y (On Ambari Server)&lt;/P&gt;&lt;P&gt;# yum install ambari-agent -y (On all cluster nodes)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;9. Rerun ambari-server setup&lt;/P&gt;&lt;P&gt;# ambari-server setup&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;10. Start ambari agents and ambari server.&lt;/P&gt;&lt;P&gt;# ambari-server start&lt;/P&gt;&lt;P&gt;# ambari-agent start&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 13:00:09 GMT</pubDate>
    <dc:creator>sean1</dc:creator>
    <dc:date>2019-08-14T13:00:09Z</dc:date>
    <item>
      <title>Downgrade Ambari 2.7.3 to 2.62 on New HDP 2.6.4 Installatioin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Downgrade-Ambari-2-7-3-to-2-62-on-New-HDP-2-6-4/m-p/237745#M199558</link>
      <description>&lt;P&gt;I would like to downgrade Ambari server (from 2.7.3 to 2.6.2). This is a new installation and since Ambari was never upgraded, there are no database back up files (as referenced here: &lt;A href="https://community.hortonworks.com/questions/175812/downgrade-procedure-from-ambari-version-2610-to-lo.html)" target="_blank"&gt;https://community.hortonworks.com/questions/175812/downgrade-procedure-from-ambari-version-2610-to-lo.html)&lt;/A&gt;. Therefore, I modified the instructions as follows (omitting the old database import steps and re-running ambari-server setup). Will this work without negatively affecting the other HDP 2.6.4 components? If not, is there a procedure to downgrade Ambari in a new installation?&lt;BR /&gt;&lt;BR /&gt;1. Stop the ambari-server.&lt;BR /&gt;# ambari-server stop&lt;BR /&gt;&lt;BR /&gt;2. Stop all the ambari-agents on all hosts.&lt;BR /&gt;# ambari-agent stop&lt;BR /&gt;&lt;BR /&gt;3. Download the ambari.repo of the downgraded version on all agent hosts and ambari server host.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;PRE&gt;# wget -nv &lt;A href="http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.4.2.0/ambari.repo" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.4.2.0/ambari.repo&lt;/A&gt; -O /etc/yum.repos.d/ambari.repo
	&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;4. (omitting this step) Then take a backup of "/etc/ambari-server/conf" and "/etc/ambari-agent/conf" directories (for backup).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;5. Erase the ambari Binaries from Ambari Server and Ambari Agent hosts like (basically cleaning up the Ambari Server and agent binaries)&lt;/P&gt;&lt;P&gt;yum remove ambari-server ambari-agent&lt;/P&gt;&lt;P&gt;rm -f /usr/sbin/ambari*&lt;/P&gt;&lt;P&gt;rm -f /usr/lib/python2.6/site-packages/ambari_commons&lt;/P&gt;&lt;P&gt;rm -f /usr/lib/python2.6/site-packages/ambari_server&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/python2.6/site-packages/resource_management&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/python2.6/site-packages/ambari_jinja2&lt;/P&gt;&lt;P&gt;rm -f /usr/lib/python2.7/site-packages/ambari_commons&lt;/P&gt;&lt;P&gt;rm -f /usr/lib/python2.7/site-packages/ambari_server&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/python2.7/site-packages/resource_management&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/python2.7/site-packages/ambari_jinja2&lt;/P&gt;&lt;P&gt;rm -rf /var/lib/ambari-server&lt;/P&gt;&lt;P&gt;rm -rf /var/lib/ambari-agent/&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/ambari-agent/&lt;/P&gt;&lt;P&gt;rm -rf /usr/lib/ambari-server/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;6. Perform yum cleanup&lt;/P&gt;&lt;P&gt;# yum clean all&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;7. (omitting this step) Import the OLD Database Dump of previous ambari version to the Database. (for example ambari 2.4.2 DB dump)&lt;/P&gt;&lt;P&gt;# su postgres -c 'psql -c "drop database ambari" '&lt;/P&gt;&lt;P&gt;# su postgres -c 'psql -c "create database ambari" '&lt;/P&gt;&lt;P&gt;# su postgres -c 'psql -f ./ambari_old_242.sql -d ambari'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;8. Install ambari-server and ambari agents (agent on all hosts)&lt;/P&gt;&lt;P&gt;# yum install ambari-server ambari-agent -y (On Ambari Server)&lt;/P&gt;&lt;P&gt;# yum install ambari-agent -y (On all cluster nodes)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;9. Rerun ambari-server setup&lt;/P&gt;&lt;P&gt;# ambari-server setup&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;10. Start ambari agents and ambari server.&lt;/P&gt;&lt;P&gt;# ambari-server start&lt;/P&gt;&lt;P&gt;# ambari-agent start&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 13:00:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Downgrade-Ambari-2-7-3-to-2-62-on-New-HDP-2-6-4/m-p/237745#M199558</guid>
      <dc:creator>sean1</dc:creator>
      <dc:date>2019-08-14T13:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Downgrade Ambari 2.7.3 to 2.62 on New HDP 2.6.4 Installatioin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Downgrade-Ambari-2-7-3-to-2-62-on-New-HDP-2-6-4/m-p/265601#M206013</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/55227"&gt;@sean1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you mentioned that .&amp;nbsp; &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;This is a new installation and since Ambari was never upgraded,"&amp;nbsp;&lt;/STRONG&gt; ....&amp;nbsp; &lt;STRONG&gt;"there are no database back up files"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. If this a new installation then what is the reason for downgrading ambari?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; If ambari was never upgraded&amp;nbsp; (as it is a new installation) then what is the need to downgrade it ?&lt;BR /&gt;&lt;BR /&gt;2. If you do not have the Ambari DB backup then you can not recover the cluster installation even if you installed the Ambari 2.6.2&amp;nbsp; (So backup is must)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 07:43:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Downgrade-Ambari-2-7-3-to-2-62-on-New-HDP-2-6-4/m-p/265601#M206013</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-08-19T07:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Downgrade Ambari 2.7.3 to 2.62 on New HDP 2.6.4 Installatioin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Downgrade-Ambari-2-7-3-to-2-62-on-New-HDP-2-6-4/m-p/268239#M206059</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50614"&gt;@jsensharma&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your prompt reply and clear answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason for wanting to downgrade was to avoid a complete re-install (for logistical reasons). The version should have been 2.6.2.0 per spec request.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 18:05:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Downgrade-Ambari-2-7-3-to-2-62-on-New-HDP-2-6-4/m-p/268239#M206059</guid>
      <dc:creator>sean1</dc:creator>
      <dc:date>2019-08-19T18:05:20Z</dc:date>
    </item>
  </channel>
</rss>

