ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <>
Subject Re: Locating services using Ambari APIs
Date Fri, 03 Apr 2015 01:41:12 GMT
Hi Umar,

You can make an API call like this:
GET /api/v1/clusters/cluster_name/host_components?HostRoles/component_name=SLIDER_CLIENT


From: Um ar <<>>
Reply-To: "<>" <<>>
Date: Thursday, April 2, 2015 5:39 PM
To: "<>" <<>>
Subject: Locating services using Ambari APIs


I am looking for a way to find out which service is running where on my cluster programmatically
using Ambari APIs. For example, how to locate where 'Slider Client' is installed so that any
slider commands can be redirected to that node.


View raw message