Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4CDD10071 for ; Fri, 6 Mar 2015 18:48:01 +0000 (UTC) Received: (qmail 43527 invoked by uid 500); 6 Mar 2015 18:47:39 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 43486 invoked by uid 500); 6 Mar 2015 18:47:39 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 43475 invoked by uid 99); 6 Mar 2015 18:47:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 18:47:39 +0000 Date: Fri, 6 Mar 2015 18:47:39 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-9964) Rolling Upgrade: Expose FinalizeUpgradeAction to API or force transition from UPGRADED to CURRENT for cluster_version via API request MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-9964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Lysnichenko updated AMBARI-9964: --------------------------------------- Attachment: AMBARI-9964.patch > 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 > > Attachments: AMBARI-9964.patch > > > 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)