Hello everyone !

I'm currently testing the Ranger REST API with Ranger 0.5 (embedded in
HDP2.3.4.7).

I'm trying to get the list of services for a specific plugin.
It works fine.

But when I try the type filter (hdfs, yarn etc...), it does not seem to
take this filter into account.

Here is the curl command I perform :
###
curl -vvv -k -u amb_ranger_admin -X GET https://<RANGER HOST>:<RANGER
PORT>/service/public/v2/api/service?pageSize=10&type=hdfs
###


As a result I just have the full list of all the services, whatever their
types are.
I can clearly see in the result that each of this service have the "type"
field indicating that they are hdfs, kafka, hbase. But the result is
everything.

Is it normal ?

Best regards.

Lune.

Reply via email to