Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15774

Ambari upgrade fails with MySQL DB and enforce gtid enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.0
    • 2.2.2
    • ambari-server
    • None

    Description

      Issue: Ambari upgrade is failing from 2.2.0 to 2.2.1.1 with below error:

      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
      
      

      Attachments

        1. AMBARI-15774.patch
          33 kB
          Siddharth Wagle
        2. AMBARI-15774.patch
          38 kB
          Siddharth Wagle
        3. AMBARI-15774.patch
          40 kB
          Siddharth Wagle

        Issue Links

          Activity

            People

              swagle Siddharth Wagle
              swagle Siddharth Wagle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: