ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhay Kulkarni <akulka...@hortonworks.com>
Subject Re: Review Request 66106: Update Hbase plugin to handle default namespace
Date Fri, 16 Mar 2018 23:08:16 GMT

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

(Updated March 16, 2018, 11:08 p.m.)


Review request for ranger and Madhan Neethiraj.


Changes
-------

Added Hbase specific resource class, added unit tests


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


Repository: ranger


Description
-------

HBase supports a "default" namespace in which Hbase tables are implicitly present when namespace
is not explicitly specified. Ranger Hbase policies with table-resource specified with or without
a "default" namespace qualifier should match if a table in default namespace is accessed with
or without "default" namespace qualifier.


Diffs (updated)
-----

  hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/AuthorizationSession.java
1349aef9e 
  hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerHbaseResource.java
PRE-CREATION 
  hbase-agent/src/test/java/org/apache/ranger/authorization/hbase/HBaseRangerAuthorizationTest.java
665640f07 
  hbase-agent/src/test/java/org/apache/ranger/authorization/hbase/TestPolicyEngine.java 9f0e5ac87

  hbase-agent/src/test/resources/hbase-policies-tag.json 61728c800 
  hbase-agent/src/test/resources/policyengine/test_policyengine_hbase.json f563c2850 


Diff: https://reviews.apache.org/r/66106/diff/2/

Changes: https://reviews.apache.org/r/66106/diff/1-2/


Testing
-------

Passed all unit tests.


Thanks,

Abhay Kulkarni


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