FAQ
I create Cloudera Management Service(CMS) using API.
But I can't delete CMS using API.

% curl -u admin:admin "http://localhost:7180/api/v5/cm/service" -X DELETE -v
* About to connect() to localhost port 7180 (#0)
* Trying localhost...
* Adding handle: conn: 0x7f840a804000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7f840a804000) send_pipe: 1, recv_pipe: 0
* Connected to localhost (localhost) port 7180 (#0)
* Server auth using Basic with user 'admin'
DELETE /api/v5/cm/service HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
User-Agent: curl/7.30.0
Host: localhost:7180
Accept: */*
< HTTP/1.1 405 Method Not Allowed
< Expires: Thu, 01-Jan-1970 00:00:00 GMT
< Set-Cookie:
CLOUDERA_MANAGER_SESSIONID=p17zh8yrwhji19m3liiynwbdj;Path=/;HttpOnly
< Allow: POST,GET,PUT,OPTIONS,HEAD
< Content-Length: 0
< Date: Thu, 13 Feb 2014 07:56:42 GMT
* Server Jetty(6.1.26.cloudera.2) is not blacklisted
< Server: Jetty(6.1.26.cloudera.2)
<
* Connection #0 to host localhost left intact


so, I can't find delete command in the API doc.

http://cloudera.github.io/cm_api/apidocs/v5/path__cm_service.html

How should I delete it ?

thanks for any help.

To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 7 | next ›
Discussion Overview
groupscm-users @
categorieshadoop
postedFeb 13, '14 at 7:58a
activeFeb 20, '14 at 12:49a
posts7
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase