<?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 upgrade from 2.2.0 to 2.2.1 giving error when doing  $ ambari-server start in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117439#M80222</link>
    <description>&lt;P&gt;Thank you for the solution. I found this helpful while upgrading from 2.2.2 to 2.4. Cheers!&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2016 16:46:56 GMT</pubDate>
    <dc:creator>asubramanian</dc:creator>
    <dc:date>2016-09-23T16:46:56Z</dc:date>
    <item>
      <title>ambari upgrade from 2.2.0 to 2.2.1 giving error when doing  $ ambari-server start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117433#M80216</link>
      <description>&lt;P&gt;I was trying to update ambari 2.2.0 to 2.2.1.&lt;/P&gt;&lt;P&gt;I ran following commands on my machine:&lt;/P&gt;&lt;P&gt;$ cd /etc/yum.repos.d/&lt;/P&gt;&lt;P&gt;$ wget &lt;A href="http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.0.0/ambari.repo"&gt;http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0/ambari.repo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;# Install &lt;/P&gt;&lt;P&gt;$ yum install ambari-server&lt;/P&gt;&lt;P&gt;$ ambari-server start&lt;/P&gt;&lt;P&gt;First, time it was not giving any error when trying to start amari sever but was not able to login using "admin" "admin" username and password. Then i tried to stop and re-started Ambari and now i am getting below error.&lt;/P&gt;&lt;P&gt;[root@ttsv-lab-vmdb-01 jdk64]# [root@ttsv-lab-vmdb-01 jdk64]# tail -f var/log/ambari-server/ambari-server.out^C
[root@ttsv-lab-vmdb-01 jdk64]# ambari-server start
Using python  /usr/bin/python2
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
&lt;STRONG&gt;ERROR: Exiting with exit code -1.
REASON: Ambari Server java process died with exitcode 255. Check /var/log/ambari-server/ambari-server.out for more information.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I checked the file &lt;STRONG&gt;/var/log/ambari-server/ambari-server.out  &lt;/STRONG&gt;but it was empty.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~Vinti&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 03:58:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117433#M80216</guid>
      <dc:creator>vinti_uiet</dc:creator>
      <dc:date>2016-03-09T03:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: ambari upgrade from 2.2.0 to 2.2.1 giving error when doing  $ ambari-server start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117434#M80217</link>
      <description>&lt;P&gt;I checked ambari-server.log, it's saying database version issue. &lt;/P&gt;&lt;P&gt;[root@ttsv-lab-vmdb-01 jdk64]# tail -f  /var/log/ambari-server/ambari-server.log
08 Mar 2016 11:49:57,623  INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
08 Mar 2016 11:49:57,702  INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
08 Mar 2016 11:49:57,704  INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
08 Mar 2016 11:50:00,769  INFO [main] AmbariServer:807 - Getting the controller
08 Mar 2016 11:50:01,829  INFO [main] DatabaseChecker:154 - Checking DB store version
08 Mar 2016 11:50:02,531  WARN [main] DatabaseChecker:184 - Current database store version is not compatible with current server version, serverVersion=2.2.1.0, schemaVersion=2.2.0.0&lt;/P&gt;&lt;P&gt;
&lt;STRONG&gt;08 Mar 2016 11:50:02,532 ERROR [main] AmbariServer:820 - Failed to run the Ambari Server
org.apache.ambari.server.AmbariException: Current database store version is not compatible with current server version, serverVersion=2.2.1.0, schemaVersion=2.2.0.0
   at org.apache.ambari.server.controller.utilities.DatabaseChecker.checkDBVersion(DatabaseChecker.java:185)
   at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:812)&lt;/STRONG&gt;
^C&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;~Vinti&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 04:01:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117434#M80217</guid>
      <dc:creator>vinti_uiet</dc:creator>
      <dc:date>2016-03-09T04:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: ambari upgrade from 2.2.0 to 2.2.1 giving error when doing  $ ambari-server start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117435#M80218</link>
      <description>&lt;P&gt;I solved that issue by doing &lt;/P&gt;&lt;P&gt;$ ambari-server upgrade. I am able to login to web ui now.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 04:26:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117435#M80218</guid>
      <dc:creator>vinti_uiet</dc:creator>
      <dc:date>2016-03-09T04:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: ambari upgrade from 2.2.0 to 2.2.1 giving error when doing  $ ambari-server start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117436#M80219</link>
      <description>&lt;P&gt;I also have an issue to the ambari upgrade:&lt;/P&gt;&lt;P&gt;[root@centos7 /]# ambari-server upgrade
Using python  /usr/bin/python2.7
Upgrading ambari-server
Updating properties in ambari.properties ...
WARNING: Can not find ambari.properties.rpmsave file from previous version, skipping import of settings
Fixing database objects owner
Upgrading database schema
ERROR: Error executing schema upgrade, please check the server logs.
ERROR: Ambari server upgrade failed. Please look at /var/log/ambari-server/ambari-server.log, for more details.
ERROR: Exiting with exit code 11.
REASON: Schema upgrade failed.&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 11:09:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117436#M80219</guid>
      <dc:creator>axi6ne8us</dc:creator>
      <dc:date>2016-05-01T11:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: ambari upgrade from 2.2.0 to 2.2.1 giving error when doing  $ ambari-server start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117437#M80220</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3098/vintiuiet.html" nodeid="3098"&gt;@Vinti Maheshwari&lt;/A&gt; My HDP is 2.4 version i also facing same issue when i am doing upgrade it is asking for backup how can i take the backup of database is this necessary to take the backup of database orelse can i go directly for upgrade??/&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 11:14:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117437#M80220</guid>
      <dc:creator>s_sandeep</dc:creator>
      <dc:date>2016-05-27T11:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: ambari upgrade from 2.2.0 to 2.2.1 giving error when doing  $ ambari-server start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117438#M80221</link>
      <description>&lt;P&gt;&lt;A rel="user" href="#"&gt;@sanka sandeep&lt;/A&gt;: It's always better to take backup or create a restore point on databases if you are upgrading. If something goes wrong during the process you can get back.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 21:12:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117438#M80221</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2016-05-27T21:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: ambari upgrade from 2.2.0 to 2.2.1 giving error when doing  $ ambari-server start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117439#M80222</link>
      <description>&lt;P&gt;Thank you for the solution. I found this helpful while upgrading from 2.2.2 to 2.4. Cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 16:46:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-upgrade-from-2-2-0-to-2-2-1-giving-error-when-doing/m-p/117439#M80222</guid>
      <dc:creator>asubramanian</dc:creator>
      <dc:date>2016-09-23T16:46:56Z</dc:date>
    </item>
  </channel>
</rss>

