You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by asif sajjad <as...@gmail.com> on 2014/03/18 10:46:54 UTC

Cluster creation and adding Services through Apache Ambari Restful APIs

Hi,


I want to create Cluster and want to add services through Apache Ambari
Restful APIs.

I am unable to call POST,PUT and DELETE Web Services successfully.


I am using Resful API's client to work and trying to use below URL with
POST request but not working.


*POST REQUEST*

http://AmbariServerIP:8080/api/v1/clusters/c1



Best Regards,

Asif Sajjad

Re: Cluster creation and adding Services through Apache Ambari Restful APIs

Posted by Yusaku Sako <yu...@hortonworks.com>.
Hi Asif,

What is the exact call that you are trying (with all the headers and
parameters), and the response you are getting back from the server?

Yusaku

On Tue, Mar 18, 2014 at 2:46 AM, asif sajjad <as...@gmail.com> wrote:
> Hi,
>
>
> I want to create Cluster and want to add services through Apache Ambari
> Restful APIs.
>
> I am unable to call POST,PUT and DELETE Web Services successfully.
>
>
> I am using Resful API's client to work and trying to use below URL with POST
> request but not working.
>
>
> POST REQUEST
>
> http://AmbariServerIP:8080/api/v1/clusters/c1
>
>
>
> Best Regards,
>
> Asif Sajjad

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Cluster creation and adding Services through Apache Ambari Restful APIs

Posted by Yusaku Sako <yu...@hortonworks.com>.
Hi Asif,

What is the exact call that you are trying (with all the headers and
parameters), and the response you are getting back from the server?

Yusaku

On Tue, Mar 18, 2014 at 2:46 AM, asif sajjad <as...@gmail.com> wrote:
> Hi,
>
>
> I want to create Cluster and want to add services through Apache Ambari
> Restful APIs.
>
> I am unable to call POST,PUT and DELETE Web Services successfully.
>
>
> I am using Resful API's client to work and trying to use below URL with POST
> request but not working.
>
>
> POST REQUEST
>
> http://AmbariServerIP:8080/api/v1/clusters/c1
>
>
>
> Best Regards,
>
> Asif Sajjad

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Cluster creation and adding Services through Apache Ambari Restful APIs

Posted by Yusaku Sako <yu...@hortonworks.com>.
Hi Asif,

What is the exact call that you are trying (with all the headers and
parameters), and the response you are getting back from the server?

Yusaku

On Tue, Mar 18, 2014 at 2:46 AM, asif sajjad <as...@gmail.com> wrote:
> Hi,
>
>
> I want to create Cluster and want to add services through Apache Ambari
> Restful APIs.
>
> I am unable to call POST,PUT and DELETE Web Services successfully.
>
>
> I am using Resful API's client to work and trying to use below URL with POST
> request but not working.
>
>
> POST REQUEST
>
> http://AmbariServerIP:8080/api/v1/clusters/c1
>
>
>
> Best Regards,
>
> Asif Sajjad

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Cluster creation and adding Services through Apache Ambari Restful APIs

Posted by Yusaku Sako <yu...@hortonworks.com>.
Hi Asif,

What is the exact call that you are trying (with all the headers and
parameters), and the response you are getting back from the server?

Yusaku

On Tue, Mar 18, 2014 at 2:46 AM, asif sajjad <as...@gmail.com> wrote:
> Hi,
>
>
> I want to create Cluster and want to add services through Apache Ambari
> Restful APIs.
>
> I am unable to call POST,PUT and DELETE Web Services successfully.
>
>
> I am using Resful API's client to work and trying to use below URL with POST
> request but not working.
>
>
> POST REQUEST
>
> http://AmbariServerIP:8080/api/v1/clusters/c1
>
>
>
> Best Regards,
>
> Asif Sajjad

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.