[
https://issues.apache.org/jira/browse/AMBARI-15774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siddharth Wagle updated AMBARI-15774:
-------------------------------------
Attachment: AMBARI-15774.patch
> Ambari upgrade fails with MySQL DB and enforce gtid enabled
> -----------------------------------------------------------
>
> Key: AMBARI-15774
> URL: https://issues.apache.org/jira/browse/AMBARI-15774
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.0
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Priority: Critical
> Fix For: 2.2.2
>
> Attachments: AMBARI-15774.patch, AMBARI-15774.patch
>
>
> Issue: Ambari upgrade is failing from 2.2.0 to 2.2.1.1 with below error:
> {code}
> mbari-server upgrade
> Using python /usr/bin/python
> Upgrading ambari-server
> Updating properties in ambari.properties ...
> WARNING: Can not find ambari.properties.rpmsave file from previous version,
> skipping import of settings
> WARNING: Can not find ambari-env.sh.rpmsave file from previous version,
> skipping restore of environment settings
> Fixing database objects owner
> Ambari Server configured for MySQL. Confirm you have made a backup of the
> Ambari Server database [y/n] (y)? y
> Upgrading database schema
> Error output from schema upgrade command:
> Exception in thread "main" org.apache.ambari.server.AmbariException:
> Exception [EclipseLink-4002] (Eclipse Persistence Services -
> 2.5.2.v20140319-9ad6abd):
> org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception:
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table
> 'ambari.TL_alert_notice' doesn't exist
> Error Code: 1146
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)