<?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: Ambari keeps old version as current after rolling upgrade 100% in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-keeps-old-version-as-current-after-rolling-upgrade/m-p/95098#M8434</link>
    <description>&lt;P&gt;If you still run into issues, most likely one of the hosts still has components on an older version.
You can triage these by running some SQL queries, found here &lt;A href="https://community.hortonworks.com/articles/2473/rolling-upgrade-express-upgrade-in-ambari.html"&gt;https://community.hortonworks.com/articles/2473/rolling-upgrade-express-upgrade-in-ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For the problematic hosts, make sure to call hdp-select set &amp;lt;comp&amp;gt; &amp;lt;version&amp;gt;, and then restart them (using Ambari if you can; if they get queued, there are ways to "pause" the Rolling Upgrade so that other actions can still run.)
In the worst case, you can always update the database manually, or use RU Magician, as described in the link above.&lt;/P&gt;&lt;PRE&gt;-- Check the repo version state SELECT rv.version, cv.state
FROM repo_version rv 
JOIN cluster_version cv ON rv.repo_version_id = cv.repo_version_id 
ORDER BY rv.version ASC; 

-- Check the hosts SELECT rv.version, h.host_name, hv.state 
FROM repo_version rv 
JOIN host_version hv ON rv.repo_version_id = hv.repo_version_id 
JOIN hosts h ON hv.host_id = h.host_id 
ORDER BY rv.version ASC, h.host_name; 

-- Find the components on the wrong version, 
-- call "hdp-select set &amp;lt;comp&amp;gt; &amp;lt;version&amp;gt;", check the config symlinks, and restart them manually
SELECT hcs.service_name, hcs.component_name, h.host_name, hcs.version 
FROM hostcomponentstate hcs 
JOIN hosts h ON hcs.host_id = h.host_id 
ORDER BY hcs.version ASC, hcs.service_name, hcs.component_name, h.host_name;&lt;/PRE&gt;</description>
    <pubDate>Sat, 12 Dec 2015 05:01:22 GMT</pubDate>
    <dc:creator>afernandez</dc:creator>
    <dc:date>2015-12-12T05:01:22Z</dc:date>
    <item>
      <title>Ambari keeps old version as current after rolling upgrade 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-keeps-old-version-as-current-after-rolling-upgrade/m-p/95096#M8432</link>
      <description>&lt;P&gt;Rolling upgrade is 100%, but Ambari still keeps the older version as current, and new version as "upgrade in progress", any idea?
it is Ambari 2.1.1, upgrading from HDP 2.2.0 to 2.2.8.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 23:51:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-keeps-old-version-as-current-after-rolling-upgrade/m-p/95096#M8432</guid>
      <dc:creator>rxu</dc:creator>
      <dc:date>2015-10-08T23:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari keeps old version as current after rolling upgrade 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-keeps-old-version-as-current-after-rolling-upgrade/m-p/95097#M8433</link>
      <description>&lt;P&gt;You can finalize the upgrade using:&lt;/P&gt;&lt;PRE&gt;ambari-server set-current --cluster-name=$CLUSTERNAME \
                          --version-display-name=$VERSION_NAME&lt;/PRE&gt;&lt;P&gt;If an automatic upgrade using Ambari seems incomplete, the documentation for the manual upgrade is a good reference for what you may need to follow up with: &lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_upgrading_Ambari/content/_manual_minor_upgrade.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_upgrading_Ambari/content/_manual_minor_upgrade.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 23:59:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-keeps-old-version-as-current-after-rolling-upgrade/m-p/95097#M8433</guid>
      <dc:creator>dprichici</dc:creator>
      <dc:date>2015-10-08T23:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari keeps old version as current after rolling upgrade 100%</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-keeps-old-version-as-current-after-rolling-upgrade/m-p/95098#M8434</link>
      <description>&lt;P&gt;If you still run into issues, most likely one of the hosts still has components on an older version.
You can triage these by running some SQL queries, found here &lt;A href="https://community.hortonworks.com/articles/2473/rolling-upgrade-express-upgrade-in-ambari.html"&gt;https://community.hortonworks.com/articles/2473/rolling-upgrade-express-upgrade-in-ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For the problematic hosts, make sure to call hdp-select set &amp;lt;comp&amp;gt; &amp;lt;version&amp;gt;, and then restart them (using Ambari if you can; if they get queued, there are ways to "pause" the Rolling Upgrade so that other actions can still run.)
In the worst case, you can always update the database manually, or use RU Magician, as described in the link above.&lt;/P&gt;&lt;PRE&gt;-- Check the repo version state SELECT rv.version, cv.state
FROM repo_version rv 
JOIN cluster_version cv ON rv.repo_version_id = cv.repo_version_id 
ORDER BY rv.version ASC; 

-- Check the hosts SELECT rv.version, h.host_name, hv.state 
FROM repo_version rv 
JOIN host_version hv ON rv.repo_version_id = hv.repo_version_id 
JOIN hosts h ON hv.host_id = h.host_id 
ORDER BY rv.version ASC, h.host_name; 

-- Find the components on the wrong version, 
-- call "hdp-select set &amp;lt;comp&amp;gt; &amp;lt;version&amp;gt;", check the config symlinks, and restart them manually
SELECT hcs.service_name, hcs.component_name, h.host_name, hcs.version 
FROM hostcomponentstate hcs 
JOIN hosts h ON hcs.host_id = h.host_id 
ORDER BY hcs.version ASC, hcs.service_name, hcs.component_name, h.host_name;&lt;/PRE&gt;</description>
      <pubDate>Sat, 12 Dec 2015 05:01:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-keeps-old-version-as-current-after-rolling-upgrade/m-p/95098#M8434</guid>
      <dc:creator>afernandez</dc:creator>
      <dc:date>2015-12-12T05:01:22Z</dc:date>
    </item>
  </channel>
</rss>

