ranger-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry McCay <lmc...@hortonworks.com>
Subject Re: Question about Ranger REST URL with service-name component
Date Wed, 20 Jul 2016 12:34:40 GMT
Is there a doc JIRA filed for this issue?

On Jul 20, 2016, at 5:35 AM, Lune Silver <lunescar.ranger@gmail.com<mailto:lunescar.ranger@gmail.com>>

I don't know if this is your problem, but there is an error in the rest api documentation
concerning for example the way to get of a policy thanks to the service-name and policy-name.

The error is a missing level in the api arborescence.

In the documentation, you can see this :

And the correct path is in fact :

Hope it helps.

Best regards.


Le 19 juil. 2016 23:22, "Don Bosco Durai" <bosco@apache.org<mailto:bosco@apache.org>>
a écrit :
Aaron, are you still having this issues? Your previous mail said that you found errors in
the log file.



From: "Stromas, Aaron" <aaron.stromas@rsa.com<mailto:aaron.stromas@rsa.com>>
Reply-To: <user@ranger.incubator.apache.org<mailto:user@ranger.incubator.apache.org>>
Date: Tuesday, July 19, 2016 at 1:17 PM
To: "user@ranger.incubator.apache.org<mailto:user@ranger.incubator.apache.org>" <user@ranger.incubator.apache.org<mailto:user@ranger.incubator.apache.org>>
Subject: Question about Ranger REST URL with service-name component


None of the REST API calls using the service-name do not work for me. All of the following
return HTTP 404

curl -iv -u admin:admin  -X GET

curl -iv -u admin:admin  -H "Content-Type: application/json" -d @hdfs-update-policy-by-name.payload

curl -iv -u admin:admin -X DELETE

curl -iv -u admin:admin -X GET

Service name Sandbox_hdfs and policy app access exist and the calls that use ID rather than
name work, so are the URLs incorrect? What should they be?

Best regards,


Aaron Stromas  |  RSA  The Security Division of EMC | Practice Consultant  |  Identity &
Fraud Protection Practice |  M +1 240 271 64 58 |

View raw message