ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Srinivasaraghavan <>
Subject Re: Ambari REST API
Date Thu, 30 Apr 2015 23:16:26 GMT
I have found the payload that I could use to post the "recommendations" resource.
The question on "Ambari Groovy Client" vs "Standard Rest Client" still is open. Please suggest
based on your experience which one is recommended for java based integration to manage Ambari

     On Thursday, April 30, 2015 3:23 PM, Vijay Srinivasaraghavan <>

What is the best way to access Ambari REST endpoint from java based application?  - Using
Ambari Groovy Client ("ambari-client" project) or standard java rest client?
I am trying to use Blueprint to provision cluster and would like to use the stack advisior
implementation to derive the host group and service mapping. I don't see the correspodning
API implementation in the Ambari groovy client code.

If I were to directly call the rest API that uses stack advisor (http://<IP>:8080/api/v1/stacks/HDP/versions/2.2/recommendations/),
I don't know what to pass in the POST payload request as I don't see any documentation on
Appreciate your inputs.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message