-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74821/
-----------------------------------------------------------

Review request for ranger, Akshay Tupe, Anand Nadar, Ankita Sinha, Madhan 
Neethiraj, Monika Kachhadiya, Siddhesh Phatak, Subhrat Chaudhary, and Vanita 
Ubale.


Bugs: RANGER-4634
    https://issues.apache.org/jira/browse/RANGER-4634


Repository: ranger


Description
-------

Currently when we delete a service which has datashares and related 
entities(i.e shared-resources, dataShareInDatasets) connected  to it we get 
error while deleting the service.

It is Expected that we should be able to delete the service by cascade deleting 
the datashares and related entities connected to this service


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 
49386d08c 


Diff: https://reviews.apache.org/r/74821/diff/1/


Testing
-------

Steps to check
1)create a resource service 
2)create a datashare and link it to the service
3)delete this service ,Now the service will be deleted and the connected 
datashare will be deleted


Thanks,

Prashant Satam

Reply via email to