Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 15C50200C2F for ; Mon, 20 Feb 2017 01:09:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 14580160B65; Mon, 20 Feb 2017 00:09:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 39D6B160B63 for ; Mon, 20 Feb 2017 01:09:08 +0100 (CET) Received: (qmail 75695 invoked by uid 500); 20 Feb 2017 00:09:07 -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 75685 invoked by uid 99); 20 Feb 2017 00:09:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2017 00:09:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 63D691A04E2 for ; Mon, 20 Feb 2017 00:09:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Vvy3c7ugGwFz for ; Mon, 20 Feb 2017 00:09:05 +0000 (UTC) Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CBA925F610 for ; Mon, 20 Feb 2017 00:09:04 +0000 (UTC) Received: by mail-qt0-f176.google.com with SMTP id n21so8240008qta.1 for ; Sun, 19 Feb 2017 16:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=i37H05iG4uZS2MWC56F6SbWDqGW5v5jcwXAKIu5GEaI=; b=muI2OfBE0j5dqDlhfUlnkH62LrBgNNiNePHM1vKUdgC0iR3oRhp8A/LsS4/vGPrKe5 eiZPD2a4mq0RQId779AaxJ6r8UB6/J03y4zykbMKth1/TUnLCCxBgo6897n64kUUCtuy 50H/8tR8lo226vmKnxomcp5oLZ5EySsGdPgOh/RftQok/8/4aFyDkiVCVwncRSt+pLA1 0ybSNctGjUAM0O9GWmXhK/KMRLSn/Ylck1ODkED293ZcN+1HJ1JoljZFschNk/jWCfx0 uu7Q530u2XEgkVMIQ4Nj9fSj95XoB5Sht2ya4a97/26/X1tTuWczbk5AzaAstmWflSGG 183w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=i37H05iG4uZS2MWC56F6SbWDqGW5v5jcwXAKIu5GEaI=; b=ih7YvaMV9N2sVfO0TYnEOA3DixCfEvEPyJPL4lDXEtzhNiRgJjLlAYUfUuMactmDIn 6SFrPol99m4yiGqYfEEQzni/Fz01DYkGGU4aU9frSs7iTOxj2AyfIj3ZopedzulDRrBG BQh9wNFPmvDtHx/SMWd4URtK4Bqy4Bja/Th8fo4xAhXsp1XoLw/Ai95N3+2B3XBFNrv3 0HJ+y/YgXkT1FJheL6+JMgow283q+ERknj1B3SVH54y5xcVRxjTrEzuDEaNxqVqEL34n 0nLQ8rdUHOELLNGB80MexpHKBxu7zKvrPZwqcgFTOmpPosIUSdtNojZh0QKvHC8UwUeO 1Tcw== X-Gm-Message-State: AMke39k7o/ppCSE8J1yLNWu+GSjfXtbgx2BfhpEH7FKwyTELW/UIPidCoU0Mv7iUVulR5Yfg7GjiVb27GsrL4Q== X-Received: by 10.200.50.238 with SMTP id a43mr16953802qtb.23.1487549337946; Sun, 19 Feb 2017 16:08:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.158.1 with HTTP; Sun, 19 Feb 2017 16:08:57 -0800 (PST) From: Anandha L Ranganathan Date: Sun, 19 Feb 2017 16:08:57 -0800 Message-ID: Subject: Unable to delete a service using Ambari API To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=001a11402c0cdfdaad0548eb1115 archived-at: Mon, 20 Feb 2017 00:09:09 -0000 --001a11402c0cdfdaad0548eb1115 Content-Type: text/plain; charset=UTF-8 I am trying to delete a service but I am unable to do it. In the past I was successful in deleting the service but this time it is throwing error. 1. curl -u admin:xxxxxxxx -H "X-Requested-By: ambari" -X DELETE http://localhost:8080/api/v1/clusters/prod/services/PRESTO 2. { 3. "status": 500, 4. "message": "Server Error" 5. } How do I delete the service ? --001a11402c0cdfdaad0548eb1115 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I am trying to delete a service but I am unable to do it. In the past = I was successful in deleting the service but this time it is throwing =C2= =A0 error.

  1. curl -u admin:xxxxxxxx -H &quo= t;X-Requested-By: ambari" -X DELETE = http://localhost:8080/= api/v1/clusters/prod/services/PRESTO
  2. {
  3. = "status": 500,
  4. "message&qu= ot;:= "Server Error"
  5. }

How do I delete the service ?


--001a11402c0cdfdaad0548eb1115--