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 496B517778 for ; Mon, 23 Feb 2015 20:37:03 +0000 (UTC) Received: (qmail 31046 invoked by uid 500); 23 Feb 2015 20:37:03 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 31013 invoked by uid 500); 23 Feb 2015 20:37:03 -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 30994 invoked by uid 99); 23 Feb 2015 20:37:02 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2015 20:37:02 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id B1F151D2EE2; Mon, 23 Feb 2015 20:37:00 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4639156594777643107==" MIME-Version: 1.0 Subject: Re: Review Request 31314: After cluster install one host doesn't have any stack version From: "Nate Cole" To: "Alejandro Fernandez" , "Dmitro Lisnichenko" Cc: "Nate Cole" , "Ambari" Date: Mon, 23 Feb 2015 20:37:00 -0000 Message-ID: <20150223203700.4174.69550@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Nate Cole" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/31314/ X-Sender: "Nate Cole" References: <20150223200815.4174.64651@reviews.apache.org> In-Reply-To: <20150223200815.4174.64651@reviews.apache.org> Reply-To: "Nate Cole" X-ReviewRequest-Repository: ambari --===============4639156594777643107== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Feb. 23, 2015, 3:08 p.m., Alejandro Fernandez wrote: > > ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java, line 1526 > > > > > > This may transition other host versions from INSTALL_FAILED to INSTALLED. I believe we don't need the else block here. Please contact me about this. I'm open to suggestions - but I thought we couldn't have two host_versions marked CURRENT at the same time. So where can we get the value for the one that's not current? Remember - this is for hosts that have no reportable versions, so it may be hard for anything other than INSTALLED or CURRENT. - Nate ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31314/#review73651 ----------------------------------------------------------- On Feb. 23, 2015, 2:55 p.m., Nate Cole wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/31314/ > ----------------------------------------------------------- > > (Updated Feb. 23, 2015, 2:55 p.m.) > > > Review request for Ambari, Alejandro Fernandez and Dmitro Lisnichenko. > > > Bugs: AMBARI-9755 > https://issues.apache.org/jira/browse/AMBARI-9755 > > > Repository: ambari > > > Description > ------- > > * When marking a cluster version as CURRENT, take into account hosts that don't advertise version and add a host_version record. > * Fixed error in a ZK import. > > > Diffs > ----- > > ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java c609b0a > ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py 92465a0 > ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClusterTest.java 8865b26 > ambari-server/src/test/resources/stacks/HDP/2.0.5/services/ZOOKEEPER/metainfo.xml e17bbd3 > > Diff: https://reviews.apache.org/r/31314/diff/ > > > Testing > ------- > > Manual testing on new and upgrading cluster. Automated testing pending. > > > Thanks, > > Nate Cole > > --===============4639156594777643107==--