You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2015/03/06 19:46:38 UTC
[jira] [Created] (AMBARI-9964) Rolling Upgrade: Expose
FinalizeUpgradeAction to API or force transition from UPGRADED to CURRENT
for cluster_version via API request
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)