You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Nikhil P <np...@gmail.com> on 2019/10/03 13:19:16 UTC

Review Request 71577: RANGER-2602 : Import is failing with "Can not construct instance of java.util.Date from String" error

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

Review request for ranger, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

Steps to reproduce
1.Create a service 'Hdfsservice1'
2.Create a new policy 'Hdfspolicy1'
3.Export the policies of 'Hdfsservice1'
4.Import the same policies in 'Hdfsservice1'
5.it fails with above error.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 190c6f537 


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


Testing
-------

1.Export of unzone and zone policies.
2.Import of unzone and zone policies.
3.Checked we are getting admin audit logs for the same.
4.Checked create time and update time in policy listing page and admin audit page.


Thanks,

Nikhil P


Re: Review Request 71577: RANGER-2602 : Import is failing with "Can not construct instance of java.util.Date from String" error

Posted by Mehul Parikh <me...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71577/#review218067
-----------------------------------------------------------


Ship it!




Ship It!

- Mehul Parikh


On Oct. 3, 2019, 1:19 p.m., Nikhil P wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71577/
> -----------------------------------------------------------
> 
> (Updated Oct. 3, 2019, 1:19 p.m.)
> 
> 
> Review request for ranger, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2602
>     https://issues.apache.org/jira/browse/RANGER-2602
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Steps to reproduce
> 1.Create a service 'Hdfsservice1'
> 2.Create a new policy 'Hdfspolicy1'
> 3.Export the policies of 'Hdfsservice1'
> 4.Import the same policies in 'Hdfsservice1'
> 5.it fails with above error.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 190c6f537 
> 
> 
> Diff: https://reviews.apache.org/r/71577/diff/1/
> 
> 
> Testing
> -------
> 
> 1.Export of unzone and zone policies.
> 2.Import of unzone and zone policies.
> 3.Checked we are getting admin audit logs for the same.
> 4.Checked create time and update time in policy listing page and admin audit page.
> 
> 
> Thanks,
> 
> Nikhil P
> 
>


Re: Review Request 71577: RANGER-2602 : Import is failing with "Can not construct instance of java.util.Date from String" error

Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71577/#review218066
-----------------------------------------------------------


Ship it!




Ship It!

- Velmurugan Periasamy


On Oct. 3, 2019, 1:19 p.m., Nikhil P wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71577/
> -----------------------------------------------------------
> 
> (Updated Oct. 3, 2019, 1:19 p.m.)
> 
> 
> Review request for ranger, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2602
>     https://issues.apache.org/jira/browse/RANGER-2602
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Steps to reproduce
> 1.Create a service 'Hdfsservice1'
> 2.Create a new policy 'Hdfspolicy1'
> 3.Export the policies of 'Hdfsservice1'
> 4.Import the same policies in 'Hdfsservice1'
> 5.it fails with above error.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 190c6f537 
> 
> 
> Diff: https://reviews.apache.org/r/71577/diff/1/
> 
> 
> Testing
> -------
> 
> 1.Export of unzone and zone policies.
> 2.Import of unzone and zone policies.
> 3.Checked we are getting admin audit logs for the same.
> 4.Checked create time and update time in policy listing page and admin audit page.
> 
> 
> Thanks,
> 
> Nikhil P
> 
>