<?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 ambari-server upgrade 2.2.2 to 2.4.1 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-upgrade-2-2-2-to-2-4-1/m-p/173435#M42219</link>
    <description>&lt;P&gt;running ambari-server upgrade has the following errors&lt;/P&gt;&lt;P&gt;# ambari-server upgrade &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python &lt;/P&gt;&lt;P&gt;Upgrading ambari-server &lt;/P&gt;&lt;P&gt;Updating properties in ambari.properties ... &lt;/P&gt;&lt;P&gt;WARNING: Can not find ambari.properties.rpmsave file from previous version, skipping import of settings &lt;/P&gt;&lt;P&gt;INFO: Can not find ambari-env.sh.rpmsave file from previous version, skipping restore of environment settings. ambari-env.sh may not include any user customization. &lt;/P&gt;&lt;P&gt;Fixing database objects owner
Ambari Server configured for Postgres. Confirm you have made a backup of the Ambari Server database [y/n] (y)? y&lt;/P&gt;&lt;P&gt;
Upgrading database schema
Error output from schema upgrade command:
Exception in thread "main" java.lang.Exception: Unexpected error, upgrade failed
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:370)
Caused by: java.lang.RuntimeException: Unable to read database version
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.readSourceVersion(SchemaUpgradeHelper.java:93)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:341)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "metainfo" does not exist
  Position: 30
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:559)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:283)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.readSourceVersion(SchemaUpgradeHelper.java:86)
... 1 more&lt;/P&gt;&lt;P&gt;8 Sep 2016 15:16:09,033  INFO [main] HostRoleCommandDAO:258 - Host role command status summary cache enabled !
28 Sep 2016 15:16:09,036  INFO [main] TransactionalLock$LockArea:121 - LockArea HRC_STATUS_CACHE is enabled
28 Sep 2016 15:16:09,339  INFO [main] SchemaUpgradeHelper:333 - Upgrading schema to target version = 2.4.1.0
28 Sep 2016 15:16:09,361 ERROR [main] SchemaUpgradeHelper:369 - Unexpected error, upgrade failed
java.lang.RuntimeException: Unable to read database version
        at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.readSourceVersion(SchemaUpgradeHelper.java:93)
        at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:341)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "metainfo" does not exist
  Position: 30
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:559)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:283)
        at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.readSourceVersion(SchemaUpgradeHelper.java:86)
        ... 1 more&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2016 05:20:55 GMT</pubDate>
    <dc:creator>murch</dc:creator>
    <dc:date>2016-09-29T05:20:55Z</dc:date>
    <item>
      <title>ambari-server upgrade 2.2.2 to 2.4.1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-upgrade-2-2-2-to-2-4-1/m-p/173435#M42219</link>
      <description>&lt;P&gt;running ambari-server upgrade has the following errors&lt;/P&gt;&lt;P&gt;# ambari-server upgrade &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python &lt;/P&gt;&lt;P&gt;Upgrading ambari-server &lt;/P&gt;&lt;P&gt;Updating properties in ambari.properties ... &lt;/P&gt;&lt;P&gt;WARNING: Can not find ambari.properties.rpmsave file from previous version, skipping import of settings &lt;/P&gt;&lt;P&gt;INFO: Can not find ambari-env.sh.rpmsave file from previous version, skipping restore of environment settings. ambari-env.sh may not include any user customization. &lt;/P&gt;&lt;P&gt;Fixing database objects owner
Ambari Server configured for Postgres. Confirm you have made a backup of the Ambari Server database [y/n] (y)? y&lt;/P&gt;&lt;P&gt;
Upgrading database schema
Error output from schema upgrade command:
Exception in thread "main" java.lang.Exception: Unexpected error, upgrade failed
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:370)
Caused by: java.lang.RuntimeException: Unable to read database version
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.readSourceVersion(SchemaUpgradeHelper.java:93)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:341)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "metainfo" does not exist
  Position: 30
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:559)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:283)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.readSourceVersion(SchemaUpgradeHelper.java:86)
... 1 more&lt;/P&gt;&lt;P&gt;8 Sep 2016 15:16:09,033  INFO [main] HostRoleCommandDAO:258 - Host role command status summary cache enabled !
28 Sep 2016 15:16:09,036  INFO [main] TransactionalLock$LockArea:121 - LockArea HRC_STATUS_CACHE is enabled
28 Sep 2016 15:16:09,339  INFO [main] SchemaUpgradeHelper:333 - Upgrading schema to target version = 2.4.1.0
28 Sep 2016 15:16:09,361 ERROR [main] SchemaUpgradeHelper:369 - Unexpected error, upgrade failed
java.lang.RuntimeException: Unable to read database version
        at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.readSourceVersion(SchemaUpgradeHelper.java:93)
        at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:341)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "metainfo" does not exist
  Position: 30
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:559)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:283)
        at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.readSourceVersion(SchemaUpgradeHelper.java:86)
        ... 1 more&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 05:20:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-upgrade-2-2-2-to-2-4-1/m-p/173435#M42219</guid>
      <dc:creator>murch</dc:creator>
      <dc:date>2016-09-29T05:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server upgrade 2.2.2 to 2.4.1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-upgrade-2-2-2-to-2-4-1/m-p/173436#M42220</link>
      <description>&lt;P&gt;bad intial install&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 08:09:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-upgrade-2-2-2-to-2-4-1/m-p/173436#M42220</guid>
      <dc:creator>murch</dc:creator>
      <dc:date>2016-09-29T08:09:28Z</dc:date>
    </item>
  </channel>
</rss>

