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

Rolling Upgrade: Expose FinalizeUpgradeAction to API or force transition from UPGRADED to CURRENT for cluster_version via API request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-server
    • None

    Description

      syntax for this task is

      /var/lib/ambari-server/resources/scripts/upgradeHelper.py finalize-ru --user=admin --hostname=1a9.vm --password=admin --clustername=cc --repository-version=HDP-2.2.2.0-2561
      

      And output is either

      INFO: Upgrade action 'finalize-ru' completed successfully.
      

      or something like

      {                                                                                                                                                            
        "status" : 400,                                                                                                                                            
        "message" : "java.lang.IllegalArgumentException: Repository version with display name HDP-2.2.2.0-2531 does not exist"                                     
      }             
      
      {                                                                                                                                                            
        "status" : 500,
        "message" : "org.apache.ambari.server.controller.spi.SystemException: Finalization failed"
      }
      

      In latter case, details should be located in a server log

      Attachments

        1. AMBARI-9964.patch
          26 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: