ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramesh Mani <rm...@hortonworks.com>
Subject Re: Review Request 68738: RANGER-2186: Part II - check for NPE when incrementing service-specific policy and tag versions after update transaction is committed
Date Mon, 17 Sep 2018 18:33:33 GMT

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


Ship it!




Ship It!

- Ramesh Mani


On Sept. 17, 2018, 6:28 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68738/
> -----------------------------------------------------------
> 
> (Updated Sept. 17, 2018, 6:28 p.m.)
> 
> 
> 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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message