I understand.
Thanks for your reply !
2014年2月20日木曜日 2時30分04秒 UTC+9 Darren Lo:
As you suggested, it seems to be related to the differences in v1 and v2,
as you pointed out. Since they take different arguments, they are distinct
calls. For backwards-compatibility reasons, we have not removed v1, so both
variants are valid for now.
Thanks,
Darren
On Wed, Feb 19, 2014 at 9:04 AM, Mahito OGURA <earthd...@gmail.com<javascript:>
--
Thanks,
Darren
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.as you pointed out. Since they take different arguments, they are distinct
calls. For backwards-compatibility reasons, we have not removed v1, so both
variants are valid for now.
Thanks,
Darren
On Wed, Feb 19, 2014 at 9:04 AM, Mahito OGURA <earthd...@gmail.com<javascript:>
wrote:
Thanks Darren
I use Cloudera Manager 4.8.1 now.
But I will use Cloudera Manager 5, when it's product release!
so, I have a question.
Why are there GET method two in this page ?
http://cloudera.github.io/cm_api/apidocs/v6/path__cm_service.html
I think Cloudera Management Service GET method is defined two (at v1 and
v2.).
V1 :
https://github.com/cloudera/cm_api/blob/master/java/src/main/java/com/cloudera/api/v1/MgmtServiceResource.java#L49
V2 :
https://github.com/cloudera/cm_api/blob/master/java/src/main/java/com/cloudera/api/v2/MgmtServiceResourceV2.java#L46
API v2 is overload (not override).
Do you fix this duplication ?
2014年2月20日木曜日 0時25分01秒 UTC+9 Darren Lo:
an email to scm-users+...@cloudera.org <javascript:>.
Thanks Darren
I use Cloudera Manager 4.8.1 now.
But I will use Cloudera Manager 5, when it's product release!
so, I have a question.
Why are there GET method two in this page ?
http://cloudera.github.io/cm_api/apidocs/v6/path__cm_service.html
I think Cloudera Management Service GET method is defined two (at v1 and
v2.).
V1 :
https://github.com/cloudera/cm_api/blob/master/java/src/main/java/com/cloudera/api/v1/MgmtServiceResource.java#L49
V2 :
https://github.com/cloudera/cm_api/blob/master/java/src/main/java/com/cloudera/api/v2/MgmtServiceResourceV2.java#L46
API v2 is overload (not override).
Do you fix this duplication ?
2014年2月20日木曜日 0時25分01秒 UTC+9 Darren Lo:
Hi Mahito,
It looks like the latest beta version of CM, Cloudera Manager 5 beta 2,
has the ability to delete the management service in the v6 API. It was not
possible in previous versions.
http://cloudera.github.io/cm_api/apidocs/v6/path__cm_service.html
Thanks,
Darren
--
Thanks,
Darren
To unsubscribe from this group and stop receiving emails from it, sendIt looks like the latest beta version of CM, Cloudera Manager 5 beta 2,
has the ability to delete the management service in the v6 API. It was not
possible in previous versions.
http://cloudera.github.io/cm_api/apidocs/v6/path__cm_service.html
Thanks,
Darren
On Tue, Feb 18, 2014 at 8:42 PM, Mahito OGURA wrote:
Can I not delete CMS by using API ?
2014年2月13日木曜日 16時58分36秒 UTC+9 Mahito OGURA:
an email to scm-users+...@cloudera.org.
Can I not delete CMS by using API ?
2014年2月13日木曜日 16時58分36秒 UTC+9 Mahito OGURA:
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'
< 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, sendBut 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 AllowedAuthorization: Basic YWRtaW46YWRtaW4=
User-Agent: curl/7.30.0
Host: localhost:7180
Accept: */*
< 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.
an email to scm-users+...@cloudera.org.
--
Thanks,
Darren
an email to scm-users+...@cloudera.org <javascript:>.
--
Thanks,
Darren