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 4A7B11873A for ; Wed, 15 Jul 2015 19:24:53 +0000 (UTC) Received: (qmail 57565 invoked by uid 500); 15 Jul 2015 19:24:53 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 57528 invoked by uid 500); 15 Jul 2015 19:24:53 -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 57509 invoked by uid 99); 15 Jul 2015 19:24:52 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2015 19:24:52 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id CAE62BC7CA; Wed, 15 Jul 2015 19:24:51 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8672809039826402108==" MIME-Version: 1.0 Subject: Re: Review Request 36520: Manual Stack Upgrade - Unable to set current after upgrade from 2.2 -> 2.3 From: "Nate Cole" To: "Alejandro Fernandez" , "Mahadev Konar" , "Nate Cole" , "Jonathan Hurley" Cc: "Dmitro Lisnichenko" , "Ambari" Date: Wed, 15 Jul 2015 19:24:51 -0000 Message-ID: <20150715192451.17363.58719@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Nate Cole" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/36520/ X-Sender: "Nate Cole" References: <20150715190312.17362.76042@reviews.apache.org> In-Reply-To: <20150715190312.17362.76042@reviews.apache.org> Reply-To: "Nate Cole" X-ReviewRequest-Repository: ambari --===============8672809039826402108== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36520/#review91802 ----------------------------------------------------------- Ship it! Ship It! - Nate Cole On July 15, 2015, 3:03 p.m., Dmitro Lisnichenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36520/ > ----------------------------------------------------------- > > (Updated July 15, 2015, 3:03 p.m.) > > > Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Mahadev Konar, and Nate Cole. > > > Bugs: AMBARI-12425 > https://issues.apache.org/jira/browse/AMBARI-12425 > > > Repository: ambari > > > Description > ------- > > 1) Ambari 2.0.0 + HDP 2.2.6, hdfs, yarn, mr, zk > 2) upgrade to Ambari 2.1.0 build #1455 > 3) All looks good. Perform manual upgrade to HDP 2.3 #2557 > 4) All looks good. Go to finish and set-current. fails. > [root@c6401 conf]# ambari-server set-current --cluster-name=MyCluster --version-display-name=HDP-2.3.0.0 > Using python /usr/bin/python2.6 > Setting current version... > Enter Ambari Admin login: admin > Enter Ambari Admin password: > ERROR: Exiting with exit code 1. > REASON: Error during setting current version. Http status code - 500. > { > "status" : 500, > "message" : "org.apache.ambari.server.controller.spi.SystemException: Finalization failed. More details: \nSTDOUT: Begin finalizing the upgrade of cluster MyCluster to version 2.3.0.0-2557\n\nSTDERR: Cluster stack version 2.3.0.0-2557 not found" > } > > > Diffs > ----- > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java 03b98af > ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java db3eca7 > > Diff: https://reviews.apache.org/r/36520/diff/ > > > Testing > ------- > > Manual upgrade works now > Trying to see if manual downgrade works > > Unit tests of ClusterStackVersionResourceProviderTest work > Have not finished full mvn test yet, but should work unless ClusterStackVersionResourceProvider is invoked in some advanced way from somewhere > > > Thanks, > > Dmitro Lisnichenko > > --===============8672809039826402108==--