ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mad...@apache.org>
Subject Review Request 73055: RANGER-3097: updated HDFS plugin to make operationName available to policy engine
Date Tue, 01 Dec 2020 23:31:00 GMT

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

Review request for ranger, deepak sharma, Kishor Gollapalliwar, Abhay Kulkarni, Mehul Parikh,
Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

minor refactoring to wrap parameters passed to many methods into a context object, and include
operationName in the context


Diffs
-----

  hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java
347abe742 


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


Testing
-------

- verified that operationName is recorded correctly in HDFS audit logs, as before
- verified that operationName is used in filtering audit logs based on 'action'
- all tests pass successfully


Thanks,

Madhan Neethiraj


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