ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-9964) Rolling Upgrade: Expose FinalizeUpgradeAction to API or force transition from UPGRADED to CURRENT for cluster_version via API request
Date Fri, 06 Mar 2015 18:46:38 GMT
Dmitry Lysnichenko created AMBARI-9964:
------------------------------------------

             Summary: Rolling Upgrade: Expose FinalizeUpgradeAction to API or force transition
from UPGRADED to CURRENT for cluster_version via API request
                 Key: AMBARI-9964
                 URL: https://issues.apache.org/jira/browse/AMBARI-9964
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
             Fix For: 2.0.0


syntax for this task is 

{code}
/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
{code}

And output is either
{code}
INFO: Upgrade action 'finalize-ru' completed successfully.
{code}

or something like 
{code}
{                                                                                        
                                                                   
  "status" : 400,                                                                        
                                                                   
  "message" : "java.lang.IllegalArgumentException: Repository version with display name HDP-2.2.2.0-2531
does not exist"                                     
}             
{code}

{code}
{                                                                                        
                                                                   
  "status" : 500,
  "message" : "org.apache.ambari.server.controller.spi.SystemException: Finalization failed"
}
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message