You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Juanjo Marron <ju...@yahoo.com.INVALID> on 2016/04/18 19:41:30 UTC

Client-only services restAPI calls

Hi all,

Working on external Ambari tools using REST API calls, I could not find a good way to identify the client-only services which are installed as part of the stack.

These client-only services (such as SLIDER, PIG or SQOOP) do not provide START/STOP actions and on my case they would need to be identified after installation


Is there any restAPI call/call I can use or combine to get this info?

The /api/v1/stacks/<stack_name>/versions/4.1/services?fields=components/*  call returns parameters as:

"is_client" : false,
"is_master" : true,
cardinality" : "0+",
"component_category" : "CLIENT",

But not sure how to combine them to find client-only services
Any advice will be appreciated 

Thanks