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

Review request for ranger, Ramesh Mani and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

When a service is deleted, there is a NPE thrown while creating/updating 
policy-version value in x_service_version_info table in the row corresponding 
to the deleted service. There needs to be a check if to see if the service 
exists before this operation.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 
32af4cd2d 


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


Testing
-------

Created and deleted a service. Ensured that the service is deleted and there is 
no Null-Pointer Exception thrown in xa_portal.log.


Thanks,

Abhay Kulkarni

Reply via email to