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

Rename of ambari_sequences.sequence_value handled inappropriately during Upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • ambari-server
    • None

    Description

      It seems ambari_sequences.sequence_value was renamed in 1.7.0 but 1.5.0, 1.6.0 and 1.6.1 Catalogs all expect column name to be sequence_value
      The rename should be idempotent, this code is doomed to fail even when running upgrade command more than once.
      org.apache.ambari.server.upgrade.UpgradeCatalog170#renameSequenceValueColumnName

      Attachments

        1. AMBARI-10786.patch
          3 kB
          Vitaly Brodetskyi
        2. AMBARI-10786_branch_branch-2.0.maint.patch
          0.9 kB
          Dmitry Lysnichenko

        Activity

          People

            vbrodetskyi Vitaly Brodetskyi
            vbrodetskyi Vitaly Brodetskyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: