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 C8B5217C09 for ; Sat, 9 Jan 2016 20:16:45 +0000 (UTC) Received: (qmail 73866 invoked by uid 500); 9 Jan 2016 20:16:45 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 73827 invoked by uid 500); 9 Jan 2016 20:16:45 -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 73807 invoked by uid 99); 9 Jan 2016 20:16:45 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jan 2016 20:16:45 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id EAA6C280309; Sat, 9 Jan 2016 20:16:44 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8973674918032592287==" MIME-Version: 1.0 Subject: Re: Review Request 42026: Rest API returns incorrect cluster creation request status using Blueprints until nodes join the cluster From: "Sumit Mohanty" To: "Sumit Mohanty" , "Sid Wagle" , "Robert Nettleton" Cc: "Ambari" , "Sebastian Toader" Date: Sat, 09 Jan 2016 20:16:44 -0000 Message-ID: <20160109201644.1693.74153@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Sumit Mohanty" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/42026/ X-Sender: "Sumit Mohanty" References: <20160109200205.1693.79563@reviews.apache.org> In-Reply-To: <20160109200205.1693.79563@reviews.apache.org> Reply-To: "Sumit Mohanty" X-ReviewRequest-Repository: ambari --===============8973674918032592287== 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/42026/#review113625 ----------------------------------------------------------- ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java (line 56) Looks like bad merge - Sumit Mohanty On Jan. 9, 2016, 8:02 p.m., Sebastian Toader wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42026/ > ----------------------------------------------------------- > > (Updated Jan. 9, 2016, 8:02 p.m.) > > > Review request for Ambari, Robert Nettleton, Sumit Mohanty, and Sid Wagle. > > > Bugs: AMBARI-14551 > https://issues.apache.org/jira/browse/AMBARI-14551 > > > Repository: ambari > > > Description > ------- > > 1. If the cluster is provisioned using Blueprint and if there are no tasks created verify the status of the topology logical request (that will exist only for Blueprints) to determine if the request was prior completed or it's waiting for hosts to register and be assigned to host groups. > 2. Upon host deletion delete the topology host requests associated with the deleted host. > > > Diffs > ----- > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java f0d9fde > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestResourceProvider.java 1a71afa > ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostGroupComponentEntity.java 046bbd8 > ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java ca09ab8 > ambari-server/src/main/java/org/apache/ambari/server/topology/LogicalRequest.java ad7c8fd > ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java 80d19d2 > ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java 03ef06d > ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClusterImplTest.java 178adc5 > > Diff: https://reviews.apache.org/r/42026/diff/ > > > Testing > ------- > > Manual testing on the 3 node cluster created using Blueprint (before agents registered with ambari server) > > Unit tests: > Results : > > Tests run: 3741, Failures: 0, Errors: 0, Skipped: 29 > > > Thanks, > > Sebastian Toader > > --===============8973674918032592287==--