Member since
02-09-2017
9
Posts
3
Kudos Received
0
Solutions
02-10-2017
02:00 AM
Thanks @akulkarni, the single quotes works.
... View more
02-09-2017
09:31 AM
Yes, I could delete by id. But I find policy can be deleted by policy name in Ranger wiki. Doesn't it work?
... View more
02-09-2017
06:21 AM
Hi, I try to delete ranger policy by name, but failed(delete by policy id succeeds): curl -v -u admin:admin -X DELETE http://myhost:6080/service/public/v2/api/policy?servicename=myservice&policyname=mypolicy It reports HTTP/1.1 400 Bad Request Does anyone know the reasons? , Follow the document I user the Restapi to delete a policy I can successfully delete policy by poicyid using curl, but failed to delete policy by name. curl -v -u admin:admin -X DELETE http://35.167.43.5:6080/service/public/v2/api/policy?servicename=hawq&policyname=mypolicy But it reports HTTP/1.1 400 Bad Request. Does anyone know the reason? Thanks
... View more
Labels:
- Labels:
-
Apache Ranger