Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70BE318493 for ; Sat, 27 Jun 2015 00:19:33 +0000 (UTC) Received: (qmail 23808 invoked by uid 500); 27 Jun 2015 00:19:33 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 23778 invoked by uid 500); 27 Jun 2015 00:19:33 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 23768 invoked by uid 99); 27 Jun 2015 00:19:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jun 2015 00:19:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of clarkbreyman@gmail.com designates 209.85.215.41 as permitted sender) Received: from [209.85.215.41] (HELO mail-la0-f41.google.com) (209.85.215.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jun 2015 00:17:18 +0000 Received: by lagh6 with SMTP id h6so788936lag.2 for ; Fri, 26 Jun 2015 17:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=YSczavbWIvK/qYOWvGZzXlHclYh5d32UB+1JyEf083I=; b=zWYv3ZOZwNMH+TkheqTBBET0AZ9r7iUSeZeDgKa0tpzcDHdxFw2UCdPFeH5pyY+xoe jOT+k+UXaQBqA2UA6FOvQdeCYb2+6ZzutZye1Ru0rE4LSsuKM/SaAC3IPLiA1OnX2f+K RoEI5hm5ubdPfN9TKRz07EnfyJlvTy453/wttIWXxCKIxymXZUVSd5KK/kJGVZ9GFu9y inhIDiuwU/LFojBWRsZZoU3U426Dc+3JoIXFiY6PQEa38M7O2WYo9ScK8eH7aVmktmrQ 4ZJHuDuQCmL1vW7sKy6GOOgM+BIiyUCTt6yNwEhdRBNiGxX+F0u6eAIjTGGEqCFPjS7y bNpQ== MIME-Version: 1.0 X-Received: by 10.152.4.163 with SMTP id l3mr3962081lal.35.1435364301456; Fri, 26 Jun 2015 17:18:21 -0700 (PDT) Sender: clarkbreyman@gmail.com Received: by 10.112.26.203 with HTTP; Fri, 26 Jun 2015 17:18:21 -0700 (PDT) Date: Fri, 26 Jun 2015 17:18:21 -0700 X-Google-Sender-Auth: oZCf8ESQfUlf-u4WLNhW0-Kv_tI Message-ID: Subject: Creating a second cluster via REST api corrupts ambari configuration From: Clark Breyman To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=089e013d100c4fcd87051974cb96 X-Virus-Checked: Checked by ClamAV on apache.org --089e013d100c4fcd87051974cb96 Content-Type: text/plain; charset=UTF-8 While experimenting with the REST api, I attempted to create a second cluster via POST to /api/v1/clusters/test. The result was having the service is a corrupted state as follows: - Clusters lists the second cluster I created with the status "cluster creation is in progress". The original cluster and the third attempts were not listed. - All three clusters are listed in the popup associated with the Versions "Install on" button. I understand (now) that Ambari does not yet support multiple clusters but it seems odd that the data model can be corrupted by an API operation. Is there any way to fix my database without scraping and reprovisioning the entire cluster? --089e013d100c4fcd87051974cb96 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
While experimenting with the REST api, I attempted to crea= te a second cluster via POST to /api/v1/clusters/test. The result was havin= g the service is a corrupted state as follows:

- Cluster= s lists the second cluster I created with the status "cluster creation= is in progress". The original cluster and the third attempts were not= listed.=C2=A0
- All three clusters are listed in the popup assoc= iated with the Versions "Install on" button.=C2=A0

=
I understand (now) that Ambari does not yet support multiple clu= sters but it seems odd that the data model can be corrupted by an API opera= tion.=C2=A0

Is there any way to fix my database wi= thout scraping and reprovisioning the entire cluster?
--089e013d100c4fcd87051974cb96--