You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhay Kulkarni <ak...@hortonworks.com> on 2021/07/12 22:55:12 UTC

Review Request 73454: RANGER-3337: Ranger policy not taking effect with HDFS Snapshots

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

Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

The path computation from INodeAttributes needs to be modified when snapshotted directory is accessed.


Diffs
-----

  hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java 7d924278c 
  hdfs-agent/src/test/java/org/apache/ranger/services/hdfs/RangerHdfsAuthorizerTest.java 66ba071ba 


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


Testing
-------

Updated unit test for HDFS Authorizer.

Ran all unit tests successfully.


Thanks,

Abhay Kulkarni


Re: Review Request 73454: RANGER-3337: Ranger policy not taking effect with HDFS Snapshots

Posted by Ramesh Mani <rm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73454/#review223214
-----------------------------------------------------------


Ship it!




Ship It!

- Ramesh Mani


On July 12, 2021, 10:55 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73454/
> -----------------------------------------------------------
> 
> (Updated July 12, 2021, 10:55 p.m.)
> 
> 
> Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3337
>     https://issues.apache.org/jira/browse/RANGER-3337
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> The path computation from INodeAttributes needs to be modified when snapshotted directory is accessed.
> 
> 
> Diffs
> -----
> 
>   hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java 7d924278c 
>   hdfs-agent/src/test/java/org/apache/ranger/services/hdfs/RangerHdfsAuthorizerTest.java 66ba071ba 
> 
> 
> Diff: https://reviews.apache.org/r/73454/diff/1/
> 
> 
> Testing
> -------
> 
> Updated unit test for HDFS Authorizer.
> 
> Ran all unit tests successfully.
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>